cl8dep / Surverys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Description

Nest framework TypeScript starter repository.

Installation

If you use NPM run:

> npm install

But if you use Yarn, run instead:

> yarn

Preparing the environment

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

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


Languages

Language:TypeScript 89.5%Language:JavaScript 9.3%Language:Shell 1.2%