How radebeneo/luteal works
Bite is a food-browsing and cart-management mobile app. Its principal workflow is browsing the home offers or searching/filtering the bundled menu, then managing cart contents and reviewing a checkout summary. The sampled cart and search screens show local data and Zustand state; checkout is presented as a button but no payment flow or backend is evidenced. README-described profile and monitoring capabilities are retained, though their internal wiring is not sampled.
Main entry points: search.tsx Search screen · _layout.tsx Main tabs · cart.tsx Cart screen · index.tsx Home offers
Components 18
App experience
- Root navigation
app/_layout.tsx - Main tabs
app/(tabs)/_layout.tsx - Home offers
app/(tabs)/index.tsx - Profile
app/(tabs)/profile.tsx - Cart shortcut
components/CartButton.tsx
Menu discovery
- Search screen
app/(tabs)/search.tsx - Search input
components/SearchBar.tsx - Category filters
components/FilterComponent.tsx - Menu catalog
lib/data.ts - Menu cards
components/MenuCard.tsx
Cart management
- Cart screen
app/(tabs)/cart.tsx - Cart line item
components/CartItem.tsx - Cart state
store/cart.store.ts - Checkout action
components/CustomButton.tsx
App services
- Sentry monitoring
app/_layout.tsx - UI assets
constants/index.ts
Other components
- Food customer
- Sentry service
Connections 24
- Food customer → Root navigation: opens app
- Root navigation → Main tabs: renders routes
- Main tabs → Home offers: routes to
- Main tabs → Search screen: routes to
- Main tabs → Cart screen: routes to
- Main tabs → Profile: routes to
- Home offers → Menu catalog: reads offers
- Home offers → Cart shortcut: renders
- Search screen → Menu catalog: filters menu
- Search screen → Search input: renders
- Search screen → Category filters: renders
- Search screen → Menu cards: renders results
- Search screen → Cart shortcut: renders
- Search input → Search screen: sets query
- Category filters → Search screen: sets category
- Menu cards → Cart state: adds item
- Cart shortcut → Cart screen: opens cart
- Cart screen → Cart state: reads totals
- Cart screen → Cart line item: renders items
- Cart line item → Cart state: changes quantity
- Cart screen → Checkout action: renders action
- Root navigation → Sentry monitoring: initializes
- Sentry monitoring → Sentry service: sends events
- Home offers → UI assets: uses imagery