Skip to content

msmfa/therapy-app-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Therapy App Frontend

React Native + Expo client for scheduling sessions and delivering reminders.

Prerequisites

  • Node 18+ (Expo SDK 54 and Jest require modern Node)
  • yarn or npm
  • Watchman on macOS for fast file watching

Getting Started

git clone <repo-url>
cd therapy-app-frontend
yarn install # or npm install

Run the development server:

yarn start

Use the Expo CLI prompt to launch iOS, Android, or web targets.

Testing

yarn test

Upgrade Node if Jest exits with optional-chaining syntax errors.

Routes

  • 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 of app/.

API Layer

  • src/api/client.ts centralizes fetch configuration, auth headers, retries, and error parsing.
  • Helper wrappers (apiGet, apiPost, etc.) share base URL and timeout defaults from src/constants/env.ts.
  • Feature-specific endpoints are grouped per domain (e.g. src/api/users.ts, reminder utilities under src/features/reminders/).

Project Notes

  • Environment config is split between app.json and src/constants/env.ts.

Infra

Local dev

npx expo start 192.168.0.241:3000 Local MongoDB

Staging

eas build --profile staging staging.plastic-brains.com

Staging MongoDB

Production

eas build --profile production www.plastic-brains.com Production MongoDB

About

React Native + Expo client for scheduling sessions and delivering reminders

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors