React Native + Expo client for scheduling sessions and delivering reminders.
- Node 18+ (Expo SDK 54 and Jest require modern Node)
yarnornpm- Watchman on macOS for fast file watching
git clone <repo-url>
cd therapy-app-frontend
yarn install # or npm installRun the development server:
yarn startUse the Expo CLI prompt to launch iOS, Android, or web targets.
yarn testUpgrade Node if Jest exits with optional-chaining syntax errors.
- Expo Router maps everything in
app/. - Tabs are in
app/(tabs)/(calendar, settings, etc.). - Onboarding flow is under
app/(onboarding)/. - Standalone screens such as
forgot-password.tsx,privacy-policy.tsx, and guides sit at the top ofapp/.
src/api/client.tscentralizes fetch configuration, auth headers, retries, and error parsing.- Helper wrappers (
apiGet,apiPost, etc.) share base URL and timeout defaults fromsrc/constants/env.ts. - Feature-specific endpoints are grouped per domain (e.g.
src/api/users.ts, reminder utilities undersrc/features/reminders/).
- Environment config is split between
app.jsonandsrc/constants/env.ts.
npx expo start 192.168.0.241:3000 Local MongoDB
eas build --profile staging staging.plastic-brains.com
Staging MongoDB
eas build --profile production www.plastic-brains.com Production MongoDB