Skip to content

Latest commit

 

History

History
89 lines (69 loc) · 3.64 KB

README.md

File metadata and controls

89 lines (69 loc) · 3.64 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

微信获取accesstoken中控服务

Config

微信应用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

Installation

$ yarn install

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.