title: Repo structure
Repo structure
Each template repo follows the same layout:
template/
├── app/ ← Expo Router file-based routes
│ ├── _layout.tsx ← Root layout (providers)
│ ├── welcome.tsx
│ ├── onboarding.tsx
│ ├── (auth)/ ← login, OTP, register
│ ├── (drawer)/(tabs)/ ← main tabs
│ └── product/[id]/
├── src/
│ ├── stores/ ← Zustand (auth, cart, wishlist)
│ ├── services/mock/ ← mock JSON + simulated API
│ ├── hooks/ ← React Query hooks
│ ├── components/ ← reusable UI
│ └── lib/ ← utilities
├── assets/
├── global.css ← design tokens via @theme
├── tailwind.config.js
├── app.json
├── AESTHETIC.md ← design language reference
└── CLAUDE.md ← AI primer for this template
Every route in app/ maps 1:1 to a URL path; every screen is a file.