npm i -g @nestjs/cli nest --version
7.5.1
nest new
⚡ We will scaffold your app in a few seconds..
? What name would you like to use for the new project? iluvcoffee
CREATE iluvcoffee/.eslintrc.js (663 bytes)
CREATE iluvcoffee/.prettierrc (51 bytes)
CREATE iluvcoffee/README.md (3370 bytes)
CREATE iluvcoffee/nest-cli.json (64 bytes)
CREATE iluvcoffee/package.json (1892 bytes)
CREATE iluvcoffee/tsconfig.build.json (97 bytes)
CREATE iluvcoffee/tsconfig.json (339 bytes)
CREATE iluvcoffee/src/app.controller.spec.ts (617 bytes)
CREATE iluvcoffee/src/app.controller.ts (274 bytes)
CREATE iluvcoffee/src/app.module.ts (249 bytes)
CREATE iluvcoffee/src/app.service.ts (142 bytes)
CREATE iluvcoffee/src/main.ts (208 bytes)
CREATE iluvcoffee/test/app.e2e-spec.ts (630 bytes)
CREATE iluvcoffee/test/jest-e2e.json (183 bytes)
? Which package manager would you ❤️ to use? npm
✔ Installation in progress... ☕
🚀 Successfully created project iluvcoffee
👉 Get started with the following commands:
$ cd iluvcoffee
$ npm run start
Thanks for installing Nest 🙏
Please consider donating to our open collective
to help us maintain this package.
🍷 Donate: https://opencollective.com/nest
npm run start
> iluvcoffee@0.0.1 start /home/chayan/Documents/iluvcoffee
> nest start
[Nest] 25189 - 09/08/2020, 1:46:52 PM [NestFactory] Starting Nest application...
[Nest] 25189 - 09/08/2020, 1:46:52 PM [InstanceLoader] AppModule dependencies initialized +9ms
[Nest] 25189 - 09/08/2020, 1:46:52 PM [RoutesResolver] AppController {}: +5ms
[Nest] 25189 - 09/08/2020, 1:46:52 PM [RouterExplorer] Mapped {, GET} route +2ms
[Nest] 25189 - 09/08/2020, 1:46:52 PM [NestApplication] Nest application successfully started +2ms
go to http://localhost:3000/
Hello World!