Fenne is a household meal planner built with Expo, React Native and TypeScript. Its main screens are Menu, Groceries, Pantry and Recipes. Domain terminology is documented in the workspace's ../CONTEXT.md; repository conventions are in AGENTS.md.
Use Bun; bun.lock is the dependency lockfile.
bun install --frozen-lockfile
bun run startThe app uses native modules and a development build. If the development app and Metro are already running, use those processes. Native builds are separate, explicit operations through bun run ios or bun run android; source-only changes normally use the existing development session.
api/client.ts selects http://127.0.0.1:4000 in development and the hosted API in release builds, then adds /v2 to request paths. Run the local Rails API on port 4000. A physical phone or Android emulator may need a different reachable host; the API address is currently a source setting, not an environment variable. ActionCable derives its address from the same host.
bunx tsc --noEmit
bun run lint
bun run test --watchAll=false --runInBandTests use the existing Jest/Expo configuration. For a focused run, append the test file path to the last command. Runtime mobile verification uses Argent against the already-running app; see AGENTS.md.
app/: Expo routes; authenticated tabs are underapp/(app)/(tabs)/.api/: v2 requests, query hooks and mutation behavior.components/form/: shared TanStack Form controls and structured validation feedback.components/bottomSheets/,sheets.tsx,lib/sheet-context.tsx: sheet content, registration and presentation.lib/session.ts,contexts/session.tsx,lib/family-data.ts: session changes and scoped data refresh.hooks/,utils/: workflow state and domain calculations/search.date-tools.ts,constants/colors.ts: shared date behavior and color tokens.
Use the existing form, session and sheet owners when extending workflows. They handle field errors, cancellation and stale work across account changes.