Back-end for https://github.com/ivan-ngchakming/artist-crm-web
Spin up development environment
docker compose up dev
Create .env
file at root directory.
PORT=8000
# Database
DB_PORT=5432
DB_HOST=postgres
DB_DATABASE_NAME=artist-crm
DB_USERNAME=postgres
DB_PASSWORD=postgres
Generate migration files
yarn typeorm migration:generate -n <name of migration file>
Run migration
yarn typeorm migration:run