Refer the website : https://nestjs.com/
NestJS provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications. The architecture is heavily inspired by Angular.
npm install -g @nestjs/cli
To create, build and run a new basic Nest project in development mode:
nest new casper-new-project
It creates a boilerplate
Running the application#
Once the installation process is complete, you can run the following command at your OS command prompt to start the application listening for inbound HTTP requests:
$ npm run start
This command starts the app with the HTTP server listening on the port defined in the src/main.ts
file. Once the application is running, open your browser and navigate to http://localhost:3000/
. You should see the Hello World!
message.
No comments:
Post a Comment