A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository. [Key_Points]
- NestJS is a Node.js based progressive Node.js framework for building efficient and scalable server-side applications.
- Basic Route Creation
- Controllers
- Services
- Modules
- Repository Layer
- db compatible- MongoDB, TypeORM
- [Controlller] - responsible for handelling request and responses, i.e handels incoming request and sends back response. Our work is primarily with the .controller file to build logic.
- [Services] - Used because we don't want to write all the code in one single function call which makes a function lot harder to test and also increases repititive code.
- [Injectibles/Providers] - cusromer.service is a provider i.i an injectible that can be injected in any class.
- [Repository_layer] - interactis with db and is responsible for CRUD Operations
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn 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 - Agrim Sangotra
Nest is MIT licensed.