npm install
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.
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
Then, run Nest as usual:
npm run start
For dev mode:
npm run start:dev