cofounder-tech-stack
Tech Stack
Go JSON API + React SPA served from a single binary and deployed as one container. Public pages are prerendered to static HTML at build time so search engines and AI agents can read them.
Architecture
Backend: Go stdlib net/http router, pgx/v5 for Postgres, sqlc for query generation, slog for logging, embedded SQL migrations via go:embed.
Frontend: React + TypeScript, shadcn/ui components, Tailwind CSS, in React Router framework mode with ssr: false — a pure SPA at runtime (no Node server in production), with Vite as the underlying dev server and bundler. Public routes are listed in the prerender config so they ship as real HTML for search engines and AI agents (see Public pages: prerender for SEO and AI agents). ALWAYS use the frontend-design skill when writing or modifying frontend code — it provides the design direction for layouts, styling, component aesthetics, and UI polish.