An open API service indexing awesome lists of open source software.

https://github.com/nest-cloud/nestcloud-typeorm-example

How to use typeorm for nestcloud
https://github.com/nest-cloud/nestcloud-typeorm-example

Last synced: 8 months ago
JSON representation

How to use typeorm for nestcloud

Awesome Lists containing this project

README

          

[travis-image]: https://api.travis-ci.org/nest-cloud/nestcloud.svg?branch=master
[travis-url]: https://travis-ci.org/nest-cloud/nestcloud
[linux-image]: https://img.shields.io/travis/nest-cloud/nestcloud/master.svg?label=linux
[linux-url]: https://travis-ci.org/nest-cloud/nestcloud

# NestCloud


NPM Version
Package License
NPM Downloads
Travis
Linux
Coverage

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

## Installation

```bash
$ yarn install
```

## Dependencies

- Consul
- Mysql

```bash
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

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
npm run start:prod
```

## Stay in touch

- Author - [Miaowing](https://github.com/miaowing)

## License

Nest is [MIT licensed](LICENSE).