/nodejs

Primary LanguageTypeScript

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

Description

Nest framework TypeScript starter repository.

Language programing : nodeJs
Framework : nestJs
Project name : sampleEndPoint
Access to api : localhost:3002

Information :
1- nLayer architecture pattern
2- Integration generic api result for all api`s
3- Costomize routing in controller
4- Id generator for any entity of domain that start with the desired number
5- Use mapper class for easy mapping
6- Validate email of user
7- Use Dto for transfer object in network
8- Use model for internal transfer request between layer
9- Upload file as avatar for user
10- Retrieve user avatar as image url
11- Send email after signup user
12- Retrieve user info

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

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