How suhaasteja/healthcare_dashboard works
Project type and purpose
• This is a static, single‑page Patient Dashboard web application (front‑end only) that runs entirely in the browser.
• Its sole responsibility is to fetch patient data from an external API and render an interactive UI (charts, tables, cards).
File structure
• index.html: the shell of the SPA, loads all assets.
• styles.css: global and responsive styling.
• script.js: application logic, data fetching, DOM manipulation, Chart.js integration.
• Readme.md: describes features, tech stack, API endpoint.
README for additional insights
• Uses fetch() with Basic Authentication to call:
https://fedskillstest.coalitiontechnologies.workers.dev
• Chart.js for line charts of blood pressure.
• UI sections: Overview, Patients, Schedule, Messages, Transactions, Profile, History, Diagnostics, Lab Results.
Detailed breakdown of components
• Browser Client
• index.html
• styles.css
• script.js
– fetchPatientData()
– renderPatientList()
– renderProfile(), renderHistory(), renderDiagnostics(), renderLabResults()
• Chart.js integration
• Chart initialization and update calls
• External API Service
• Endpoint URL
• Basic Auth header
• External CDNs
• Google Fonts