How suhaan-cyber/medikiosk works
MEDIKOISK is a patient-and-doctor health platform. The main workflow is browser sign-in, role-filtered dashboard loading, then health activities such as booking appointments, paying, prescribing, and managing records; the backend persists those activities in SQLite. The README documents client-side AI and PDF/payment features, while the sampled source confirms the API bridge, authentication, data models, and database layer. Feature route details are grouped under the monolithic backend entry point; unsampled frontend behavior is represented only where documented.
Main entry points: main.py FastAPI routes · index.html Health dashboard · api.js API bridge · models.py Health records
Components 18
Browser app
- Health dashboard
Frontend/index.html - AI assistant
Frontend/index.html - PDF and UPI tools
Frontend/index.html - Offline asset cache
Frontend/service-worker.js
Identity and API
- API bridge
Frontend/api.js - JWT and passwords
Backend/auth.py - FastAPI routes
Backend/main.py - Auth schemas
Backend/schemas.py
Care workflows
- Appointments
Backend/main.py - E-prescriptions
Backend/main.py - UPI payments
Backend/main.py
Health data
- Health reports
Backend/main.py - Vitals tracking
Backend/main.py - Profile requests
Backend/main.py - Health records
Backend/models.py - ORM sessions
Backend/database.py - SQLite store
Backend/medikoisk.db
Other components
- Patient or doctor
Connections 18
- Patient or doctor → Health dashboard: uses
README.md - Health dashboard → API bridge: uses
README.md - Health dashboard → AI assistant: uses
README.md - Health dashboard → PDF and UPI tools: generates
README.md - API bridge → FastAPI routes: calls
README.md - API bridge → JWT and passwords: sends bearer token
Frontend/api.js - FastAPI routes → JWT and passwords: uses
Backend/main.py - FastAPI routes → Auth schemas: validates auth
Backend/main.py - FastAPI routes → Appointments: handles
README.md - FastAPI routes → E-prescriptions: handles
README.md - FastAPI routes → UPI payments: handles
README.md - FastAPI routes → Health reports: handles
README.md - FastAPI routes → Vitals tracking: handles
README.md - FastAPI routes → Profile requests: handles
README.md - FastAPI routes → Health records: queries and updates
Backend/main.py - Health records → ORM sessions: uses base
Backend/models.py - ORM sessions → SQLite store: persists data
README.md - Health dashboard → Offline asset cache: assets cached by
Frontend/service-worker.js