Skip to content

sreegithub19/nestjs_js

Repository files navigation

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 :

  • link: https://trilon.io/blog/deploying-nestjs-to-zeit-now

  • 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

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published