Steps to run: https://docs.nestjs.com/first-steps
- npm i -g @nestjs/cli
- nest new nestjs_app
- cd nestjs_app
- npm init (let the extra lines come in package.json)
- npm install
- npm run start (http://localhost:3000/)
Versions used in this project:
- Angular CLI: 14.1.2
- Node : 16.10.0
- Package Manager: npm 7.24.0
Deployment :
-
npm i -g now vercel
-
now login
-
now.json (fill it)
-
npm run build && now
-
vercel --prod ( to override later)
(Everytime there is a git push, the steps to be followed to include even deployment into Vercel):
- git add .
- git commit -m "Changes"
- git push origin master
- npm run build && now (enter through all questions)
- vercel --prod
(All in one command):
- git add . && git commit -m "Changes" && git push origin main && npm run build && now && vercel --prod
- git add . && git commit -m "Changes" && git push origin main && now && vercel --prod
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.