Local Development (Native)
This guide sets up native (non-Docker) development with hot reload for backend and frontend. It uses production Supabase and R2, so read the safety notes carefully. Secrets are loaded from Doppler.Quick Start
Docs (Mintlify)
Install the CLI once, then run the local preview fromdocs/:
Daily Workflow
iOS App (Xcode)
- Copy
ios/sideBar/Config/SideBar.local.xcconfig.exampletoios/sideBar/Config/SideBar.local.xcconfig. - Update API and Supabase values in the local xcconfig (escape
//in URLs). - Open
ios/sideBar/sideBar.xcodeprojin Xcode. - In the
sideBartarget, set the Debug base configuration toConfig/SideBar.xcconfig. - Build/run in the simulator.
Safety Notes (Production Data)
You are connecting to production Supabase and R2.- All database changes are permanent.
- File uploads/deletes in R2 are real.
- Use a dedicated test user ID to keep data scoped.
- Consider a separate Supabase project for long-term development.
Auth Dev Mode Guard
AUTH_DEV_MODE=true is only allowed when APP_ENV=local (or tests). This prevents accidental auth bypass in production.
Common Commands
Troubleshooting
Port Already in Use
Backend Won’t Start
Frontend Proxy Not Working
URLs
- Frontend: http://localhost:3000
- Backend: http://localhost:8001
- API Docs: http://localhost:8001/docs