From the course: Mastering Nest.js: Build Scalable Applications with Mastery in Nest.js Framework

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Setting up the project

Setting up the project

To get started with NestJS, we first need to install the Nest CLI. Nest offers its very own powerful command line interface tool, which offers various commands to scaffold, build and manage NestJS applications. And if you have previously worked with Angular, you'll find the Nest CLI to be very familiar, as it brings the similar experience. Although Nest works with any front end, whether to render views on the server or create APIs and connect with React apps or Angular apps or Vue apps or even vanilla JavaScript applications. Alright, so let's get started. I have opened the VS Code terminal, and as I have already installed the NodeJS, I'll give the command npm i hyphen g and will give at nestjs slash cli. And this installs the nest CLI. Let's check the version of it. I'll give the command nest hyphen v and we get the latest version of NestJS. Now let's create a new project with nest. And for that, I'll give the command nest new and the project name. So whenever we want to execute a…

Contents