How mrredu/site works
Main Components
Frontend Layer:
• Next.js Application (React)
• Pages/Routes Structure
• Component Architecture (Atomic Design)
• Client-side State Management
• UI Components Library
Backend Layer:
• Strapi Backend (indicated by the config structure)
• API Routes
• Admin Panel
• Authentication System
• Content Management System
• File Upload System
Database Layer:
• Database System (likely SQL based on Strapi's default)
• Migrations Management
[Client Tier]
• ↕️
[Application Tier]
• ↕️
[Data Tier]
Connection and Flow Representation
• → for HTTP/API calls
• ⇢ for internal component communication
• ⇄ for two-way data flow
• Blue: Frontend components
• Green: Backend services
• Yellow: Database layer
• Purple: External services/APIs
Additional Elements
• Component types
• Environment boundaries
Technical Stack Indicators
• Next.js
• Strapi
• Tailwind CSS
• TypeScript
• Database system
Remember to include:
• Authentication flow
• Media handling
• Cart state management
• Collection/Product data flow
• Admin panel integration
This will provide a comprehensive view of the system while maintaining clarity and usefulness for development team members.