You Have One Job

deploy

Environments

Local development

Start docker container.

docker-compose up -d

Create apps/api/.env.

DATABASE_URL="postgresql://api:api@localhost:5432/api?schema=public"

Generate the API's Nexus / Prisma files.

yarn workspace api generate

Start both the API and Web App.

yarn start

Development

Both the API and Web App are automatically deployed to development on push to main after running linting and tests.

Production

The API is automatically deployed to production when a tag matching v* is pushed.

The front-end has to be deployed manually through Vercel's UI.