Mobile app built with Expo and React Native, using Expo Router for file-based routing and Supabase for the backend.
- Node.js (LTS recommended)
- npm
For device testing: Expo Go, or a local iOS simulator / Android emulator.
-
Install dependencies:
npm install
-
Configure environment variables. Create a
.envfile in the project root with:EXPO_PUBLIC_SUPABASE_URL— your Supabase project URLEXPO_PUBLIC_SUPABASE_ANON_KEY— your Supabase anonymous (publishable) key
The app reads these in
lib/supabase.ts.
npx expo startOr use npm start. From the dev server UI you can open the app in Expo Go, a simulator/emulator, or a development build.
Platform-specific shortcuts:
npm run android
npm run ios
npm run webapp/— screens and routes (Expo Router)lib/— shared clients and utilities (including Supabase)supabase/— SQL schema and migrations for the database
Edit files under app/ to change UI and navigation.
| Command | Description |
|---|---|
npm start |
Start the Expo dev server |
npm run android / ios / web |
Start with a specific platform |
npm run lint |
Run ESLint (Expo config) |
npm run reset-project |
Move starter code to app-example and create a fresh app/ directory |