How radebeneo/bite works
Bite is an Expo food-delivery app: customers browse featured offers, search and filter menu items, and manage a cart; authentication supports account access. Appwrite provides the documented backend for authentication and menu data, while Zustand holds auth and cart state. The sampled search screen shows the menu-fetching path, and the sampled signup screen shows account creation. Cart, profile, sign-in, and filter implementation details were not sampled, so their internal wiring is left limited; Sentry initialization is visible in the root layout.
Main entry points: search.tsx Menu Search · _layout.tsx Root Layout · appwrite.ts Appwrite Client · useAppwrite.ts Appwrite Hook
Components 20
App Navigation
- Root Layout
app/_layout.tsx - Main Tabs
app/(tabs)
Menu Discovery
- Offers Home
app/(tabs)/index.tsx - Menu Search
app/(tabs)/search.tsx - Search Input
components/SearchBar.tsx - Category Filters
components/FilterComponent.tsx - Menu Cards
components/MenuCard.tsx - Menu Data
lib/data.ts - Appwrite Hook
lib/useAppwrite.ts - Appwrite Client
lib/appwrite.ts
Customer Identity
- Auth Screens
app/(auth) - Sign Up
app/(auth)/sign-up.tsx - Auth Store
store/auth.store.ts - Profile Screen
app/(tabs)/profile.tsx
Cart Management
- Cart Screen
app/(tabs)/cart.tsx - Cart Item UI
components/CartItem.tsx - Cart Store
store/cart.store.ts
Other components
- Customer
- Appwrite
- Sentry
Connections 17
- Customer → Root Layout: opens app
- Root Layout → Auth Store: checks session
- Auth Store → Appwrite Client: gets current user
- Sign Up → Appwrite Client: creates account
- Auth Screens → Sign Up: routes to
- Root Layout → Main Tabs: shows routes
- Offers Home → Menu Data: reads offers
- Search Input → Menu Search: sets query
- Menu Search → Appwrite Hook: fetches menu
- Menu Search → Appwrite Hook: fetches categories
- Appwrite Hook → Appwrite Client: invokes function
- Appwrite Client → Appwrite: requests data
- Menu Search → Menu Cards: renders results
- Menu Search → Category Filters: renders categories
- Cart Screen → Cart Item UI: renders items
- Cart Item UI → Cart Store: updates quantities
- Root Layout → Sentry: initializes monitoring