Planner MVP development workspace.
docs/architecture: product architecture and review documentsdocs/schema: backend schema contract documentsdocs/review: readiness checklist and review artifactsinfra/firebase: Firestore rules and index definitionsbackend/functions: Firebase Functions codebase (TypeScript)mobile/app: mobile app codebase (Expo + React Native)
- Use Node 24 (
nvm usewith.nvmrc). - Set Firebase project id in
.firebaserc. - Install backend dependencies:
cd backend/functions && npm install
- Build backend:
npm run build
- Start emulator from repo root:
npx firebase-tools emulators:start --only firestore,functions,pubsub
Run from repository root:
npm run check:envnpm run check:backendnpm run check:mobile:typechecknpm run check:mobile:doctornpm run check:emulatornpm run check:all(runs all checks in sequence)
- JDK 21+ is required by current Firebase emulator tooling.
- Local Node 24 is recommended to match Functions runtime.
- Product source of truth:
docs/architecture/MVP_ARCHITECTURE_AND_REVIEW.md - Backend source of truth:
docs/schema/BACKEND_SCHEMA_SPEC.md - Do not implement domain writes outside Functions API.