Skip to content

Development environment

Run the backend and web apps locally, execute tests, database scripts, and deployment commands.

3 min read

Backend local development

You can work from the monorepo root (using scripts defined in the root package.json that delegate to backend/) or change into backend/ and run the same scripts locally. Pick one style and stick with it.

Frontend local development

You can work from the monorepo root (using web:* and pnpm --filter ./web … scripts) or change into web/ and run package scripts there.

Deployment

These commands are run from the repository root (they are defined in the root package.json and delegate into backend/ or web/).

Backend JS bundle — runs tsup in backend/ to produce the bundled API output used for deploys.

pnpm --filter ./backend build:js

Deploy backend to Vercel — invokes the Vercel CLI with backend/ as the working directory.

pnpm vercel:deploy:backend

Deploy web to Vercel — invokes the Vercel CLI with web/ as the working directory.

pnpm vercel:deploy:web

Next Steps