A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# 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
Get the application report by the following:
http://localhost:3000/application-report
http://localhost:3000/application-report?channel=all
http://localhost:3000/application-report?channel=sales
http://localhost:3000/application-report?channel=website
http://localhost:3000/application-report?channel=qr
As we discussed in the first interview that 1centre has a plan to move its backend to Nest.js, so I chose Nest.js to do the test as well. The dev experience was pretty good, felt easy to set up and handy to use. I simply followed its architecture.
Areas to improve:
- Add input validation to the api.
- Better error handling.
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.