- Clone the repository
- Run
yarn install
- Have Nest CLI installed
npm i -g @nestjs/cli
- Start the database
docker-compose up -d
- Clone env.template file and and rename it to .env
- Fill in the environment variables defined in .env
- Run the application in dev:
yarn start:dev
- Rebuild database with seed
http://localhost:3001/api/v2/seed
- Create the .env.prod file
- Fill in the production environment variables
- Create the new image
docker-compose -f docker-compose.prod.yaml --env-file .env.prod up --build
Redeploy on Heroku without changes:
git commit --allow-empty -m "Tigger Heroku deploy"
git push heroku <master|main>
- MongoDB
- Nest