This is a scaffolding project,it can quickly help you start your project.
- Node > 16.14.2
- Git
- Mongodb: Mongodb
$ mkdir <your-project-name>
$ cd <your-project-name>
$ git clone 'https://github.com/shaominfeng/bff-starter'
$ npm install
$ npm start # visit http://localhost:3000/
- 💡 Mock: Mock api for frontend local test
- 📜 Request: API centralized management, easy to update and call
- 💎 Format: Automate format codes and define message conventions when pre-commit
- 📐 Multi Config: Different config for different env
- 🐤: Trace: to log every request/response automatically,to bind request data to the logs automatically from any service on any application layer without passing request context(thanks you nestjs-pino,pino-http)
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
Any type of contribution is welcome, here are some examples of how you may contribute to this project:
- Submit issues to report bugs or ask questions.
- Propose pull requests to improve our code.