A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter repository.
$ npm install
You need an instance of Docker and Docker Compose on your local machine
Before, you need to up the database
$ npm run db:up
After, running the application
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
To run all test and calculates coverage, it is important the database is down.
$ npm run verify
For invidual executions:
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}
Then,
await sleep(3000); //sleep 3 seconds
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.