How sayan706/sahihealth-backend works
Project Type and Purpose
• This is a Django-based backend service (“SahiHealth-Backend”) exposing a RESTful API for a healthcare application.
• It handles user management, appointments, cases, prescriptions, and related domain entities via versioned endpoints under /api/v1/….
File Structure Analysis
• Top-level:
• manage.py – Django management entrypoint
• project/ – Django settings, URL routing (ASGI/WGSI)
• app/ – Core application logic: models, serializers, views, migrations, middlewares, signals
• app/v1/… – Version-1 API modules, each resource as its own Django app folder with views.py
• utils/ – Cross-cutting exception and response handlers
• media/ & static/ – Static assets, admin and DRF UI, uploaded files
• templates/ – HTML templates (e.g., prescription printing)
• requirements.txt, .env-template, .gitignore, LICENSE, README.md
• Architectural patterns:
• Layered MVC (Views → Serializers → Models → DB)
• Versioned API structure under app/v1/
• Custom middleware and signal hooks for cross-cutting concerns
README Insights
• Confirms this is strictly the backend for SahiHealth, using Django/DRF.