bun install && bun devTech Stack: Next.js 15, TypeScript, TanStack Query v5, Firebase, Tailwind CSS
These READMEs live alongside the code they document:
| README | Contents |
|---|---|
| /README.md | Project overview, setup, tech stack |
| /app/README.md | App directory structure, routes, key files |
| /app/api/README.md | 88 API endpoints by category |
| /app/services/README.md | 70 business logic services |
| Doc | Description |
|---|---|
| CURRENT_ARCHITECTURE | System overview |
| ENVIRONMENT_QUICK_REFERENCE | Dev/preview/prod behavior |
| PAGE_DATA_AND_VERSIONS | Page data structures |
| USER_DATA_FETCHING_PATTERNS | Data fetching patterns |
| Doc | Description |
|---|---|
| FIREBASE_REST_API_ARCHITECTURE | Start here for auth - Hybrid REST/Admin |
| AUTHENTICATION_ARCHITECTURE | Environment-specific auth |
| SESSION_MANAGEMENT_ARCHITECTURE | Session handling |
| Doc | Description |
|---|---|
| PAYMENTS_AND_ALLOCATIONS | Main payments doc - subscriptions, allocations, payouts |
| ALLOCATION_SYSTEM | Allocation architecture |
| ALLOCATION_API_REFERENCE | API reference |
| PAYOUT_TROUBLESHOOTING_GUIDE | Common issues |
| Doc | Description |
|---|---|
| SEARCH_SYSTEM | Search architecture |
| SEARCH_PERFORMANCE_OPTIMIZATIONS | Performance tuning |
| SEARCH_ALGORITHM_CHANGELOG | Algorithm changes |
| Doc | Description |
|---|---|
| HEADER_SYSTEM | Header components |
| BANNER_SYSTEM_GUIDE | Notification banners |
| DESIGN_SYSTEM_ARCHITECTURE | Cards, overlays, glassmorphism |
| THEME_SYSTEM_ARCHITECTURE | Theming |
| COMPLETE_COLOR_SYSTEM | Color tokens |
| Doc | Description |
|---|---|
| TEXT_SELECTION_AND_ATTRIBUTION | Selection & attribution |
| LINK_SUGGESTION_SYSTEM | Link suggestions |
| DIFF_SYSTEM | Diffing system |
| Doc | Description |
|---|---|
| NOTIFICATION_SYSTEM | Notification types |
| EMAIL_SYSTEM_IMPLEMENTATION | Email templates |
| LEADERBOARD_SYSTEM | Leaderboard |
| RECENT_EDITS_SYSTEM | Recent activity |
| Doc | Description |
|---|---|
| FIREBASE_OPTIMIZATION_GUIDE | Performance/cost |
| COLLECTION_NAMING_STANDARDS | Data layout |
| Doc | Description |
|---|---|
| PERFORMANCE_OPTIMIZATION_GUIDE | Performance |
| LOGGING_NOISE_REDUCTION | Log management |
| IMMEDIATE_UPDATES | Save timing |
| Doc | Description |
|---|---|
| VERCEL_DEPLOYMENT | Deployment |
| CRON_JOB_SETUP | Scheduled jobs |
| STRIPE_WEBHOOK_SETUP | Webhooks |
| Doc | Description |
|---|---|
| USERNAME_SECURITY_GUIDELINES | Identity security |
| Doc | Description |
|---|---|
| DEPENDENCY_MANAGEMENT_STANDARDS | Dependencies |
| LEGACY_CODE_CLEANUP_GUIDE | Cleanup patterns |
| RECENT_CHANGES_SUMMARY | Recent changes |
| Doc | Description |
|---|---|
| CSS_REFACTORING | CSS system consolidation plan |
| PRIVATE_PAGES | Private pages for subscribers |
| GROUPS | Group collaboration spaces |
| MULTI_CURRENCY | Multi-currency & cryptocurrency support |
| Doc | Description |
|---|---|
| Privacy Policy | Privacy |
| Terms of Service | Terms |
docs/
├── architecture/ # System architecture
├── auth/ # Authentication & sessions
├── components/ # Component documentation
├── deployment/ # Deployment & ops
├── editor/ # Editor features
├── features/ # Feature systems
├── firebase/ # Firebase patterns
├── legal/ # Legal documents
├── maintenance/ # Code maintenance
├── payments/ # Payments & allocations
├── performance/ # Performance & logging
├── plans/ # Feature roadmaps and plans
├── search/ # Search system
├── security/ # Security
├── seo/ # SEO documentation
└── ui/ # UI & design
bun dev # Start dev server
bun build # Production build
bun test # Run tests
bun test:watch # Watch modeProprietary software. All rights reserved.