- Install packages:
yarn install
- Setup
.env
withDATABASE_URL
for local db connection - Migrate db with prisma:
npx prisma migrate dev
- Run dev server:
yarn run dev
- Empty DB & Re-seed during testing:
yarn run empty-seed
Prisma is used for db management with Postgresql
- Run the prisma studio:
npx prisma studio
- Migrate:
npx prisma migrate <env>
- Format:
npx prisma format