This repository hosts the mobile app (Expo + Expo Router) and API (Node/Express) in a single npm workspace layout.
apps/api— Node/Express API (Render deploy target)apps/mobile— Expo Router mobile app (EAS/TestFlight deploy target)packages/shared— Placeholder for shared types/schemas/constantsdocs— Documentation and deployment notes
Install dependencies from the repository root using npm workspaces:
npm installIf you only want to install a single workspace, run
npm installinside that workspace directory instead.
From the repository root:
- Start the API:
npm run dev:api - Start the mobile app:
npm run dev:mobile - Start both concurrently:
npm run dev
You can also run scripts directly inside each workspace:
cd apps/api && npm start
cd apps/mobile && npm start- API (
apps/api/.env): unchanged variable names such asPORT,OPENAI_API_KEY,OPENAI_CHAT_MODEL, andOPENAI_TRANSCRIBE_MODEL. The API loads them viadotenvwhennpm startruns inapps/api. - Mobile (
apps/mobile): build profile comes fromEAS_BUILD_PROFILEorAPP_ENV. OptionalAPI_BASE_URLcan override the backend URL inapp.config.jsduring builds. Seedocs/environments.mdfor details.
See docs/DEPLOYMENT.md for Render (API) and EAS/TestFlight (mobile) deployment settings. Additional build guidance remains in docs/environments.md and docs/testing-builds.md.