Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 593 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 593 Bytes

INSTADDD Backend

Required Infra

  • Postgres
  • pnpm as the package manager (corepack enable pnpm)

Init steps

  • cp .env.example .env
  • Fill .env with appropriate values
  • pnpm install --frozen-lockfile to install dependencies with exact locked versions
  • Run db migrations with pnpm db:mig
  • Seed the db with pnpm db:seed
  • pnpm start -b swc to start the server

After every code update, make sure to:

  • Update the installed dependencies pnpm install --frozen-lockfile
  • Add/Update the values in .env file if required
  • Run any pending db migrations pnpm db:mig