Files
nest/sample/07-sequelize/README.md
2019-09-16 14:26:41 -07:00

544 B

Sequelize sample

Installation

npm install

Running

This example requires docker or a local MySQL installation. If using a local MySQL database, see database/database.providers.ts for credentials, and make sure there are matching credentials in the database and the source code.

Docker

There is a docker-compose.yml file for starting Docker.

docker-compose up

After running the sample, you can stop the Docker container with

docker-compose down

Run the sample

Then, run Nest as usual:

npm run start