SOUL API is running

This server answers /api. The web app is the TypeScript frontend in takeoff-web, and no build of it is served here: TAKEOFF_WEB_DIST is not set.

In production the web app is hosted on Vercel and this server only answers /api. Serving a build from here is for local development only.

Develop with hot reload

  1. Keep this API running on port 8000 (make dev in steel-takeoff).
  2. In takeoff-web: pnpm install, then pnpm dev.
  3. Open http://localhost:5173. The Vite dev server forwards /api to this server.

Serve the built app from this server (development only)

  1. make web in steel-takeoff (runs pnpm build in takeoff-web).
  2. Start the API with TAKEOFF_WEB_DIST set to the absolute path of takeoff-web/dist. make dev already sets it, so reload this page once the build is done.

API reference: /api/docs · health: /api/health