How matt-clegg/mcc-next works
Main Components
Frontend Layer:
• Client-side Components (/app/components)
• Admin Section
• Events Management
• Page Management
• Asset Management
• UI Components
• Pages and Routing (/app/pages)
• Layouts (/app/layouts)
• Composables (/app/composables)
Backend Layer:
• Server API Routes (/server/api)
• Database Layer (/server/database)
• Authentication & Authorization
• File/Asset Management
• Email System
Database Schema Components:
• User Management Tables
• Event Management Tables
• Content Management Tables
• Asset Management Tables
• Role-based Access Control Tables
┌─────────────────────────────────────────────────────────┐
• Client Layer │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• Pages │ │ Components │ │ Composables │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┘
• ↕
┌─────────────────────────────────────────────────────────┐
• API Layer │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• Auth APIs │ │ Event APIs │ │ Asset APIs │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┘
• ↕
┌─────────────────────────────────────────────────────────┐
• Database Layer │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• Users/Roles│ │ Events │ │ Assets │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┘
Key Relationships to Highlight
• User Authentication Flow
• Role-based Access Control
• Event Management Workflow
• Asset Management Pipeline
• Page Content Management
Technical Stack Indicators
• Nuxt.js Framework
• Vue.js Components
• Database (likely SQL based on Drizzle config)
• Authentication System
• File Storage System