Backend Overview
The backend is a Laravel application with a CMS admin interface and brand-specific frontends. The admin area is accessed through the default backend context and uses Metronic templates.
Core Backend Elements
- Routes: routes/web/backend.php and routes/web/backend/*.php.
- Controllers: grouped by domain under app/Http/Controllers/.
- Models: app/Models/* with legacy and new modules side-by-side.
- Services: app/Services/Website.php, app/Services/LogReader.php.
- Helpers: app/Helpers/* and app/Models/Legacy/*.
Key Modules
- Websites and pages management (WebsitesController, WebsitesPagesController).
- Regional (maingroup) content management (Maingroup* controllers).
- Projects and communities management (Projects* controllers).
- Asset management for media, slideshows, forms, and builder sections (Assets* controllers).
- Page builder UI (BuilderController, resources/views/minto/builder/*).
- REIT investor relations reports (MintoapartmentreitInvestorReportsController).
- Data and feed endpoints for public integrations (routes/web/mintocom/data.php, routes/web/mintocom/feeds.php).
Data Storage Pattern
- Most page content is stored in the Dictionary table, linked by Item_ID and Kind.
- Content changes are versioned in content_version (ContentVersions).
- Files and media use the Files table and S3 URLs (S3MediaManager).