Runtime Model
browser -> frontend container -> /api proxy -> backend Go container -> Postgres
The frontend is the public entrypoint. It proxies /api and /health to the backend so browser requests stay same-origin.
Generated Frontend
view/
`-- web/
|-- Dockerfile
|-- bun.lock
|-- index.html
|-- package.json
`-- src/
|-- main.jsx
|-- server.jsx
`-- styles.css
The web app lives inside view/web. React owns page flow, forms, and dashboard rendering. The Go backend owns JSON responses, HttpOnly cookies, sessions, validation, and Postgres access.
Styling
The starter uses Tailwind as the required styling path. The frontend container installs with Bun and builds generated CSS from the checked-in Tailwind input.
Regression Requirements
- Generated apps include frontend, backend, and database containers.
- The Bun frontend proxies
/apiand/healthto the backend. - Auth uses same-origin cookies without CORS setup.
- Frontend installs with
bun install --frozen-lockfileand builds withbun run build. - Tailwind is required in the generated frontend.