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
  • Integration: JWT
  • Supported: Log blocker and HTTP exception blocker
  • Supported: HTTP exception filter
  • Integration: MySQL
  • Integration: Request parameter verification
  • In the tank:Scheduled tasks
  • 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 是在 MIT 许可证下发布的。详情请见 LICENSE 文件。

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