A progressive Node.js framework for building efficient and scalable server-side applications.
微信获取accesstoken中控服务
微信应用appId和appSecret属于敏感数据
需要您在根目录创建.env.development
和.env.production
文件,然后将环境变量写进文件中
本项目未上传配置文件
# 环境变量
NODE_ENV = development
APP_HOST = http://localhost
APP_PORT = 3000
WX_APP_ID = your_app_id
WX_APP_SECRET = your_app_secret
# redis
REDIS_HOST = 127.0.0.1
REDIS_PORT = 6379
同理生产环境配置.env.production
$ yarn install
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.