Skip to content
Quickly start a micro-service app use nestcloud.
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

NestCloud

NPM Version Package License NPM Downloads Travis Linux Coverage

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).

Installation

$ yarn install

Dependencies

  • 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

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
npm run start:prod

Stay in touch

License

Nest is MIT licensed.

You can’t perform that action at this time.