How aimedat-solutions/health-management-backend works
Project type and purpose
• This is a backend-only RESTful Web API built with Django and Django REST Framework.
• Its purpose is to expose endpoints for managing doctors, patients, and users (authentication, permissions, profiles) in a Health-Management system.
File structure
• Top-level “HealthManagment” folder contains:
• Core Django project (“HealthManagment/HealthManagment”): settings.py, asgi.py, wsgi.py, urls.py
• Three Django apps:
– users: authentication (JWT, middleware), permissions, serializers, views, management commands
– doctor: models, serializers, views, URL routes
– patient: models, serializers, views, URL routes
• manage.py, .env template, requirements.txt, README.md
• Patterns:
• DRF View → Serializer → Model → Postgres
• JWT-based auth flows in users/jwt_auth.py and middleware
• Management command to bootstrap a superadmin
README insights
• Uses Postgres as the backing database
• Standard Django migration and runserver workflow
• .env file holds database credentials and secrets