Skip to content

nest-cloud/nestcloud-typeorm-example

Repository files navigation

NestCloud

NPM Version Package License NPM Downloads Travis Linux Coverage

A NodeJS micro-service solution, writing by Typescript language and NestJS framework.

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.