The Mango Medical Admin Dashboard allows healthcare providers to manage appointments, view patient messages, and respond in real-time. This web application is built with Flask (Python) for the backend and vanilla HTML/CSS/JS for the frontend.
cd mango-medical-dashboard
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
python app.py
Mango
users
, appointments
, specialties
, etc.)http://127.0.0.1:5000/admin
to view the admin dashboard/static
localStorage
Authorization: Bearer <token>
Endpoint | Method | Purpose |
---|---|---|
/login |
POST | Admin login |
/register |
POST | Register admin/patient |
/api/admin/stats |
GET | Dashboard metrics |
/api/admin/messages |
GET | All assigned messages |
/api/admin/respond |
POST | Submit response to patient |
/api/admin/today_appointments_detail |
GET | List of today’s appointments |