{"id":28713868,"url":"https://github.com/rajat1903/healthcare-backend-api","last_synced_at":"2026-04-09T22:54:45.650Z","repository":{"id":298358450,"uuid":"999728450","full_name":"rajat1903/Healthcare-Backend-API","owner":"rajat1903","description":"A Django REST Framework backend for managing healthcare data, including patients, doctors, and their relationships.","archived":false,"fork":false,"pushed_at":"2025-06-10T18:23:38.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T18:55:14.674Z","etag":null,"topics":["django","django-rest-framework","jwt-authentication","orm-model","postgres","postman","restful-api","simplejwt"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajat1903.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T17:36:53.000Z","updated_at":"2025-06-10T18:23:41.000Z","dependencies_parsed_at":"2025-06-10T18:55:18.973Z","dependency_job_id":"4df5cca5-d164-430e-990e-1309a28bc23f","html_url":"https://github.com/rajat1903/Healthcare-Backend-API","commit_stats":null,"previous_names":["rajat1903/healthcare-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rajat1903/Healthcare-Backend-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajat1903%2FHealthcare-Backend-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajat1903%2FHealthcare-Backend-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajat1903%2FHealthcare-Backend-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajat1903%2FHealthcare-Backend-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajat1903","download_url":"https://codeload.github.com/rajat1903/Healthcare-Backend-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajat1903%2FHealthcare-Backend-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259906018,"owners_count":22929963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","jwt-authentication","orm-model","postgres","postman","restful-api","simplejwt"],"created_at":"2025-06-15T01:00:17.293Z","updated_at":"2026-04-09T22:54:45.600Z","avatar_url":"https://github.com/rajat1903.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Healthcare Management System Backend\n\nA Django REST Framework backend for managing healthcare data, including patients, doctors, and their relationships.\u003cbr\u003e\u003cbr\u003e\n\n## API Documentation\n\u003e Link : https://documenter.getpostman.com/view/44498594/2sB2x5Frrk\u003cbr\u003e\u003cbr\u003e\n\n## Features\n\n- JWT Authentication\n- Patient Management\n- Doctor Management\n- Patient-Doctor Mapping\n- RESTful API Design\n- PostgreSQL Database\u003cbr\u003e\u003cbr\u003e\n\n## Setup Instructions\n\n1. Create a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n2. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n3. Create a .env file with the following variables:\n```\nDEBUG=True\nSECRET_KEY=your-secret-key-here\nDB_NAME=healthcare_db\nDB_USER=postgres\nDB_PASSWORD=postgres\nDB_HOST=localhost\nDB_PORT=5432\n```\n\n4. Create PostgreSQL database:\n```bash\ncreatedb healthcare_db\n```\n\n5. Run migrations:\n```bash\npython manage.py migrate\n```\n\n6. Create superuser:\n```bash\npython manage.py createsuperuser\n```\n\n7. Run the development server:\n```bash\npython manage.py runserver\n```\n\u003cbr\u003e\u003cbr\u003e\n\n\n## API Endpoints\n\n### Authentication\n- POST /api/auth/register/ - Register new user\n- POST /api/auth/login/ - Login and get JWT token\n\n### Patients\n- POST /api/patients/ - Create patient\n- GET /api/patients/ - List patients\n- GET /api/patients/\u003cid\u003e/ - Get patient details\n- PUT /api/patients/\u003cid\u003e/ - Update patient\n- DELETE /api/patients/\u003cid\u003e/ - Delete patient\n\n### Doctors\n- POST /api/doctors/ - Create doctor\n- GET /api/doctors/ - List doctors\n- GET /api/doctors/\u003cid\u003e/ - Get doctor details\n- PUT /api/doctors/\u003cid\u003e/ - Update doctor\n- DELETE /api/doctors/\u003cid\u003e/ - Delete doctor\n\n### Patient-Doctor Mappings\n- POST /api/mappings/ - Create mapping\n- GET /api/mappings/ - List mappings\n- GET /api/mappings/\u003cpatient_id\u003e/ - Get patient's doctors\n- DELETE /api/mappings/\u003cid\u003e/ - Delete mapping\u003cbr\u003e\u003cbr\u003e\n\n## Images\n\n![image](https://github.com/user-attachments/assets/64325697-3860-45ff-b7bd-e2f3666ac9e5)\n\n![image](https://github.com/user-attachments/assets/c4d4edd7-65d4-4013-9dd0-314da703bb14)\n\n![image](https://github.com/user-attachments/assets/24f2801b-2420-428f-b503-85d3b0491489)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajat1903%2Fhealthcare-backend-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajat1903%2Fhealthcare-backend-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajat1903%2Fhealthcare-backend-api/lists"}