A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Description
Nest framework TypeScript starter repository.
Installation
$ npm installYou need an instance of Docker and Docker Compose on your local machine
Running the app
Before, you need to up the database
$ npm run db:upAfter, running the application
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodTest
To run all test and calculates coverage, it is important the database is down.
$ npm run verifyFor invidual executions:
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covWay to force a sleep
sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}Then,
await sleep(3000); //sleep 3 secondsSupport
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
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.