How vkwhm/trabzondmt-site works
Main Components
A. Frontend Layer (React/TypeScript):
• Admin Panel (assets/admin/*)
• Public App Interface (assets/app/*)
B. Backend Layer (Symfony):
• API Platform (config/packages/api_platform.yaml)
• Controllers
• Entity Layer
• Repository Layer
• Security Layer
C. Database Layer:
• Tables for main entities (CalendarDate, CalendarEvent, User, ImageInformation)
[Client Layer]
• ↓↑
[API/Security Layer]
• ↓↑
[Application Layer]
• ↓↑
[Persistence Layer]
Specific Component Details
Frontend Section:
1. Admin Panel
• CRUD operations (Creates, Edits, Lists, Shows)
• Authentication provider
2. Public Application
• Calendar interface
• Image carousel
• Search functionality
• Weekly timeline
Backend Section:
• API Platform endpoints
• Security layer (AccessTokenHandler)
• Controllers (AdminController, MainController)
• Entity managers
• Repository layer
Database Section:
• Entity relationships
• Main tables with key fields
• Migration handling
Key Interactions to Highlight
• Authentication flow
• Image upload process
• Calendar data retrieval
• Search operations
• Admin CRUD operations
Technical Stack Indicators
Technology badges/labels for:
• Symfony
• React
• TypeScript
• API Platform
• Doctrine ORM
• Vite
• Tailwind CSS
Additional Elements
• Service worker flow for offline capabilities
• Static asset handling (public directory)
• CORS configuration
• Caching mechanisms
Implementation Notes
• Historical data management flow
• How the calendar data is organized and served
• Image handling pipeline