A NodeJS micro-service solution based on Consul, writing by Typescript language and NestJS framework.
This starter is for NestCloud above v0.2.1, NestCloud@0.1.0 ~ 0.2.0 Please see (nestcloud-starter@v0.1.x).
$ yarn install
- Consul
- Mysql
docker run -d --name=dev-consul -e CONSUL_BIND_INTERFACE=eth0 -p 8500:8500 consul
docker run -d --name dev-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=nestcloud -p 3306:3306 mysql:5.7
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
npm run start:prod
- Author - Miaowing
Nest is MIT licensed.