Housr App
Expo (React Native) mobile app for student housing discovery and management. Supports both UK and US markets, controlled at build time by the EXPO_PUBLIC_USA_MODE environment variable.
Stack: Expo SDK 54, React Native 0.81, React 19, TypeScript 5.9, React Query v5, Expo Router
Quick Start
npm install # Install dependencies (runs patch-package via postinstall)
npm start # Start Expo dev server
npm run ios # Run on iOS simulator (requires native build)
npm run android # Run on Android emulator
npm run web # Run web preview
npm run lint # ESLint
npm run format # Prettier (src/**/*.{js,jsx,ts,tsx,json,css,md})
npm run storybook # Component storybook on port 6006Staging builds use EAS:
APP_VERSION=1.2.3 BUILD_NUMBER=1 npx eas build --profile uk-staging --platform ios --localThere is no test runner configured in this project.
Overview
The app covers:
- Explore — House discovery with map, search, filters, and likes
- Viewings — Viewing requests and inquiry management
- Bills — Utility bills quotes, signup, and meter readings (UK only)
- Promotions — Perks, events, and wallet (tokens + event tickets)
- Profile — Account management, house info, housemate invites
- Roomie — Roommate matching with profiles and chat
- Rideshare — Ride creation, search, booking, and chat
Documentation
| Doc | Description |
|---|---|
| Architecture | Routing, tabs, provider hierarchy, module structure |
| Setup | Prerequisites, env vars, local dev, EAS builds |
| State Management | React Query config, Context providers |
| API Layer | Dual axios instances (v1 + v2), token handling |
| Auth | Login flows, JWT storage, Apple/Google sign-in |
| Navigation | Tab config, protected routes, dynamic routes |
| React Query Patterns | Hook pattern with real examples |
| Conventions | Theme system, code style, component patterns |
| Build & Deploy | EAS profiles, CI/CD, OTA updates |
Feature Docs
| Feature | Doc |
|---|---|
| Explore | features/explore.md |
| Viewings | features/viewings.md |
| Bills | features/bills.md |
| Events | features/events.md |
| Perks | features/perks.md |
| Wallet | features/wallet.md |
| Roomie | features/roomie.md |
| Rideshare | features/rideshare.md |
| Profile | features/profile.md |
Last updated on