Technology stack
Directory structure
Route groups
Admin routes (/team/*)
Creator routes (/community/*)
Key concepts
User roles
/team/* routes, creators see /community/* routes.
Feature flags
App Shell
The main layout wraps authenticated pages. File:components/app-shell/app-shell.tsx
Features:
- Collapsible sidebar navigation
- Header with user menu
- Notification bell
- Global search
- Real-time subscriptions
Navigation
File:components/app-shell/nav-items.ts
Role-based navigation items:
- Admin items for EVO team
- Creator items for content creators
- Conditional items based on feature flags
Conventions
From project rules:- Brand selection must use searchable combobox - never plain
<Select> - Never read localStorage during render unguarded - wrap in try/catch
- Wrap non-critical creator widgets in
SilentErrorBoundary - Route-only UI goes in
_components/subdirectories
Running locally
http://localhost:3001.
Pre-push checklist
Related documentation
- Pages - Route structure
- Components - UI components
- API Client - Backend communication