Nest framework TypeScript starter repository.
If you use NPM run:
> npm install
But if you use Yarn, run instead:
> yarn
In the .env.sample file you have the list of environments variables that you should set in a .env file at the root.
The PORT variable is used to set the port that will used to listen the incomming HTTP connections. For example:
PORT=3000
The NODE_ENV variable is used to set the envirnoment type. If you want use a environment of development use this:
NODE_ENV=3000
If you want use a environment of development use this instead:
NODE_ENV=3000
# 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.