- Postgres
pnpmas the package manager (corepack enable pnpm)
cp .env.example .env- Fill
.envwith appropriate values pnpm install --frozen-lockfileto install dependencies with exact locked versions- Run db migrations with
pnpm db:mig - Seed the db with
pnpm db:seed - To run drizzle studio (for checking db records), use
pnpm db:std pnpm start -b swcto start the server
After every code update, make sure to:
- Update the installed dependencies
pnpm install --frozen-lockfile - Add/Update the values in
.envfile if required - Run any pending db migrations
pnpm db:mig