Support #8428
openworking on Day 2 update
Description
🏗️ Backend Updates (BE)
🎉 Dynamic Configuration Engine: Implemented SiteConfig MongoDB model using Mixed types for recursive, fluid white-label schema overrides.
🔄 RESTful Configuration APIs: Created GET /api/config for real-time hydration and PUT /api/config for secure persistence of site-wide settings.
☁️ Cloud Asset Pipeline: Integrated multer-s3 and AWS SDK v3 for automated high-speed asset uploads (Logos, Icons, Banners) directly to S3 with public-read access.
📝 Public API Documentation: Fully documented all new endpoints (/config, /upload, /contact, /auth, /production) in Swagger UI at http://localhost:5001/api-docs.
🚀 Core Stability: Resolved
server.ts
TypeScript index signature errors for global.io and integrated contactRoutes to correctly persist public form submissions.
🎨 Frontend Updates (WEB)
⚙️ Global Hydration Engine: Replaced static defaultConfig with a high-performance
useConfig
hook featuring a recursive Deep Merge algorithm to ensure zero runtime crashes during partial database overrides.
🛡️ End-to-End Migration: Refactored 100% of public-facing pages (
Home
, About, Services, Projects, LiveProduction,
Contact
,
BookInstallation
) to source their content and validation rules from the live configuration service.
🖥️ Admin Configurator Hub: Built a premium multi-tabbed portal for real-time management of Brands, SEO, and Feature Toggles.
🖼️ Dynamic List Management: Developed the
AdminListManager
component providing a unified interface for managing Service, Project, and Team arrays with integrated cloud upload for each individual item.
🐛 Critical Bug Fixes: Resolved Uncaught TypeError crashes in
Navbar
,
Footer
, and
Home
caused by undefined configuration keys during the initial state load.
Subtasks
Related issues