mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 15:08:37 +00:00
SQL TypeORM sample
Installation
npm install
Running
This example requires docker or a local MySQL installation. If using a local MySQL database, see app.module.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