Full-stack webapp template with PocketBase (Go) and React (TypeScript).
Frontend: React 19, Vite, Tailwind CSS, shadcn/ui, React Hook Form, Jotai, TanStack React Query Backend: PocketBase, SQLite Tooling: Bun, Just, Lefthook, Vitest, Playwright
Requires Claude Code. The full Setup-Checklist is in .claude/commands/initialize.md.
/initialize # Set up dev environment (all dependencies, tools, hooks)
just dev # Start PocketBase (with seed) + React dev server- Frontend: http://localhost:5173
- Backend / Admin UI: http://127.0.0.1:8090/_/
Run just to see all recipes. The important ones:
just dev [seed] # Full stack with seed (default: basic)
just check # All linters, typechecks, and tests
just test # All tests
just pb-seed <name> # Reset DB and run seed script
just pb-seeds # List available seedsRun the full stack (built frontend + PocketBase, both behind a single Caddy proxy) without local Bun/Go toolchains:
just docker-up # default instance on http://localhost:8080
just docker-seed basic # wipe volume + start fresh + apply 'basic' seed
just docker-down # stop the default instancePocketBase is reachable under /pocketbase/*, the React app at /. Multiple stacks run in parallel by passing an instance id and a host port:
just docker-up wt1 8081 # second instance on http://localhost:8081
just docker-seed basic wt2 8082 # third instance, fresh + seeded- Frontend:
http://localhost:<APP_PORT>/ - Admin UI:
http://localhost:<APP_PORT>/pocketbase/_/(with trailing slash) - REST API:
http://localhost:<APP_PORT>/pocketbase/api/...
After the first start, set Settings → "Application URL" in the Admin UI to http://localhost:<APP_PORT>/pocketbase so verification/reset emails carry the correct prefix.
frontend/ # React/TypeScript (Vite)
src/components/ # UI (shadcn/ui) + auth
src/hooks/ # Custom hooks
src/lib/ # PocketBase client, utilities
src/pages/ # Route pages
src/store/ # Jotai atoms (auth state)
pocketbase/ # Go backend
migrations/ # Database migrations
seeds/ # Seed scripts for test data
justfile # Task runner
lefthook.yml # Git pre-commit hooks