How habeeb-cognizant/team2_dcb works
File structure
• Top-level HTML files:
• index.html (landing page)
• login.html, admin-login.html (user/admin entry points)
• complaint-form.html (complaint submission)
• status-tracking.html (complaint status view)
• admin-dashboard.html (admin console)
• scripts/app.js: front-end logic (form handling, possibly AJAX)
• styles/style.css and images/: UI assets
• logs/ and cron.log: runtime logging
• backup.sh + backup/: scheduled backup of static assets and logs
README
• No architectural details are given, only team roster. All architecture must be inferred from file layout.
Elements
• Browser → Static File Server (GET HTML/CSS/JS)
• Browser ↔ Complaint API Service (AJAX)
• Complaint API Service → Database (persist/query)
• Any component → Logging Service (write logs)
• Backup Scheduler → Static File Server & Logging Service (read files) → Backup Storage (write zips)
• Data storage (DB/backups)
• Scheduled tasks