SplitSimple is a billsplitting app with a Vercel frontend and a Cloudflare Worker backend for shared bill storage.
pnpm install
cp .env.example .env.local
cp cloudflare/.dev.vars.example cloudflare/.dev.vars
pnpm backend:db:migrations:apply:local
pnpm devRun the backend in another terminal:
pnpm backend:devADMIN_PASSWORD- admin login for the appCLOUDFLARE_BACKEND_URL- backend Worker URLBACKEND_SHARED_SECRET- shared secret between Vercel and the Worker
pnpm backend:devpnpm backend:deploypnpm backend:db:migrations:apply:localpnpm backend:db:migrations:apply:remote
- Deploy the Cloudflare backend.
- Set the backend URL and shared secret in Vercel.
- Deploy the app on Vercel.