- install expo go on your phone
- cd frontend, npm install, npm start, scan qr code on your phone
- when developing: when you save it should auto reload. console logs appear in terminal, shake your device for debugging, and if you need to clear cache use npm start -- -c.
- if you need to add react native libraries: do npx expo install to pick compatible versions
cd backend and npm install firebase and mongodb needed
run these commands in the backend or frontend directories for linting and formating, make sure to run before pushing npm run lint-fix to fix all auto-fixable lint errors and formatting npm run lint-check to check all lint errors or code style issues without modifying files
Run EAS commands from frontend/. eas.json provides an internal preview build and a store production build with automatic build-number increments. Production Android submissions target the internal testing track as a draft. iOS submissions upload to App Store Connect/TestFlight; public release still requires App Review.
Account setup is deliberately unfinished: confirm the permanent ios.bundleIdentifier and android.package in frontend/app.json, then link the client-controlled Expo project (including owner and extra.eas.projectId). An identifier such as com.fulcrumadventures.app is only a suggestion, not a registered value. Set submit.production.ios.ascAppId in frontend/eas.json after creating the App Store Connect app record. Store signing and submission credentials in EAS, never in Git or EXPO_PUBLIC_ variables. The client must create the initial Apple signing credentials because this is an individual Apple Developer account.
Both build profiles currently use https://fulcrum-backend.vercel.app. Deploy the backend and admin changes together before testing the mobile signup against that server. The public mobile app needs no login; admin requests send Firebase tokens. Anonymous activity reads only return published activities. Public POST /api/emails stores a validated, normalized, unique address in the admin mailing list; it does not send newsletters or confirmation emails.
Activity notes, ratings, and optional dates are saved on-device per activity. They survive app restarts but do not sync between devices and may be removed when the app is uninstalled.
Local checks (no Expo/Apple/Google login required):
cd backend
npm test
cd ../frontend
npm test
npm run build
npx expo install --check
npx expo export --platform all --output-dir dist
cd ../admin
npm run buildUse Node 22.18+ for the frontend's built-in TypeScript test runner. Backend integration tests exercise HTTP routes with Firebase and MongoDB mocked; they do not prove the deployed configuration works. Expo export verifies JS/assets, not native signing or device behavior.
Before store submission: replace the placeholder icon/launch artwork; add the approved privacy policy in the app and store listings; complete screenshots, ratings, disclosures, and support details; test on real iOS and Android devices (and iPad while supportsTablet is enabled). Verify the admin can edit/upload/publish and view signups, anonymous users cannot access admin data, signup handles failures, and Notes persist after reopening/restarting.
References: Expo build configuration, Apple signing permissions, build images.