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
- Keep this API running on port 8000 (
make devinsteel-takeoff). - In
takeoff-web:pnpm install, thenpnpm dev. - Open http://localhost:5173.
The Vite dev server forwards
/apito this server.
Serve the built app from this server (development only)
make webinsteel-takeoff(runspnpm buildintakeoff-web).- Start the API with
TAKEOFF_WEB_DISTset to the absolute path oftakeoff-web/dist.make devalready sets it, so reload this page once the build is done.
API reference: /api/docs · health: /api/health