Monorepo for the application.
Structure:
- Two applications (
./apps):api-- Hono + Vite-based backendfrontend-- React 19 + Vite-based frontend
- Shared packages (
./packages):schemas-- Zod schemas shared between the frontend and backend to keep things DRY
This application is designed and architected to be deployed to Cloudflare Pages and is automatically built and deployed via a Git hook.
Use pnpm dev, which uses Turbo and launches both the api and frontend, simultaneously.
Frontend will be running on port 6969. Backend will be running on port 4200
Use pnpm build, which uses Turbo and builds both the api and frontend in parallel.