Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

MyLeanring:

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

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn 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.