Skip to content
/ nest-template Public template

一个基于Nest.js搭建的API Template项目,方便大家快速上手开发api接口。An API Template project built based on Nest.js is convenient for you to quickly get started with developing API interfaces 🚀

License

Notifications You must be signed in to change notification settings

yxw007/nest-template

Repository files navigation

Nest Logo

An API Template project built based on Nest.js is convenient for you to quickly get started with developing API interfaces 🚀

English | 简体中文

✨ Features

  • Support: Multi-environment configuration
  • Support: Log blocker and HTTP exception blocker
  • Support: HTTP exception filter
  • Support:Scheduled tasks
  • Support: Cache
  • Integration: JWT
  • Integration: MySQL
  • Integration: Request parameter verification
  • Perfect: Test cases

🛠️ Install dependencies

$ npm install

🚀 Compile and run

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

🧪 Run the test case

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

🚢 Deploy

$ yarn install -g mau
$ mau deploy

Read more:

📚 Resource

📄 License

nest-template is released under the MIT license. See the LICENSE file.

About

一个基于Nest.js搭建的API Template项目,方便大家快速上手开发api接口。An API Template project built based on Nest.js is convenient for you to quickly get started with developing API interfaces 🚀

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published