Skip to content

shaominfeng/nestjs-starter

Repository files navigation

Nest && Typescript Start

This is a scaffolding project,it can quickly help you start your project.

Required

  1. Node > 16.14.2
  2. Git
  3. Mongodb: Mongodb

Quick Start

$ mkdir <your-project-name>
$ cd <your-project-name>
$ git clone 'https://github.com/shaominfeng/bff-starter'
$ npm install
$ npm start         # visit http://localhost:3000/

Feature

  • 💡 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)

Description

Nest framework TypeScript starter repository.

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

Contributing

Any type of contribution is welcome, here are some examples of how you may contribute to this project:

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •