How adrianhajdin/react_native-restate works
Real Scout is an Expo/React Native real-estate app. Users sign in with Google, browse featured and searchable/filterable property listings, open property details, and manage their profile. Listing and detail requests, plus current-user and OAuth operations, use Appwrite through shared client functions and a centralized fetching hook. The README documents the major screens and capabilities; some screen implementations were not excerpted, so their internal links are limited to indexed imports or documented behavior.
Main entry points: appwrite.ts Appwrite operations · index.tsx Home listings · explore.tsx Explore listings · [id].tsx Property details
Components 20
Property discovery
- Home listings
app/(root)/(tabs)/index.tsx - Explore listings
app/(root)/(tabs)/explore.tsx - Search input
components/Search.tsx - Category filters
components/Filters.tsx - Listing categories
constants/data.ts
Property experience
- Property details
app/(root)/properties/[id].tsx - Property cards
components/Cards.tsx - Review comment
components/Comment.tsx - Empty results
components/NoResults.tsx
Identity and data
- User profile
app/(root)/(tabs)/profile.tsx - Google sign-in
app/sign-in.tsx - User session
lib/global-provider.tsx - Fetch state hook
lib/useAppwrite.ts - Appwrite operations
lib/appwrite.ts
Shared presentation
- Property sample data
lib/data.ts - Icon assets
constants/icons.ts - Image assets
constants/images.ts
Other components
- App user
- Appwrite backend
- Google OAuth
Connections 29
- App user → Google sign-in: signs in
README.md - Google sign-in → Appwrite operations: calls login
app/sign-in.tsx - Appwrite operations → Google OAuth: starts OAuth
lib/appwrite.ts - Appwrite operations → Appwrite backend: authenticates and queries
lib/appwrite.ts - Google sign-in → User session: refreshes session
app/sign-in.tsx - User session → Fetch state hook: loads user
lib/global-provider.tsx - User session → Appwrite operations: gets current user
lib/global-provider.tsx - App user → Home listings: browses listings
README.md - Home listings → Fetch state hook: fetches listings
app/(root)/(tabs)/index.tsx - Home listings → Appwrite operations: requests properties
app/(root)/(tabs)/index.tsx - Home listings → Search input: renders
app/(root)/(tabs)/index.tsx - Home listings → Category filters: renders
app/(root)/(tabs)/index.tsx - Home listings → Property cards: renders listings
app/(root)/(tabs)/index.tsx - Home listings → Empty results: renders when empty
app/(root)/(tabs)/index.tsx - Category filters → Listing categories: reads categories
components/Filters.tsx - App user → Explore listings: browses properties
README.md - Explore listings → Fetch state hook: fetches listings
app/(root)/(tabs)/explore.tsx - Explore listings → Appwrite operations: requests properties
app/(root)/(tabs)/explore.tsx - Explore listings → Search input: renders
app/(root)/(tabs)/explore.tsx - Explore listings → Category filters: renders
app/(root)/(tabs)/explore.tsx - Explore listings → Property cards: renders listings
app/(root)/(tabs)/explore.tsx - App user → Property details: opens property
- Property details → Fetch state hook: loads property
app/(root)/properties/[id].tsx - Property details → Appwrite operations: requests property
app/(root)/properties/[id].tsx - Property details → Review comment: renders review
app/(root)/properties/[id].tsx - App user → User profile: manages profile
README.md - User profile → User session: reads user session
app/(root)/(tabs)/profile.tsx - User profile → Appwrite operations: uses account operations
app/(root)/(tabs)/profile.tsx - Appwrite operations → Property sample data: uses gallery data