{"id":29874942,"url":"https://github.com/080bct12alex/medixapi","last_synced_at":"2025-09-07T18:38:16.410Z","repository":{"id":304971672,"uuid":"1019070314","full_name":"080bct12alex/MedixAPI","owner":"080bct12alex","description":"a beginner-friendly project designed to learn how to build RESTful APIs using FastAPI","archived":false,"fork":false,"pushed_at":"2025-07-19T17:14:23.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T18:37:01.974Z","etag":null,"topics":["fastapi"],"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/080bct12alex.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-07-13T17:10:02.000Z","updated_at":"2025-07-19T17:14:26.000Z","dependencies_parsed_at":"2025-07-19T18:37:09.466Z","dependency_job_id":null,"html_url":"https://github.com/080bct12alex/MedixAPI","commit_stats":null,"previous_names":["080bct12alex/medixapi","080bct12alex/medixapi_beginner"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/080bct12alex/MedixAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/080bct12alex%2FMedixAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/080bct12alex%2FMedixAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/080bct12alex%2FMedixAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/080bct12alex%2FMedixAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/080bct12alex","download_url":"https://codeload.github.com/080bct12alex/MedixAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/080bct12alex%2FMedixAPI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267973531,"owners_count":24174406,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastapi"],"created_at":"2025-07-31T01:45:10.394Z","updated_at":"2025-07-31T01:45:13.144Z","avatar_url":"https://github.com/080bct12alex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 Patient Management System  (FastAPI production-ready backend  Project)\n\nA **FastAPI**-powered RESTful backend simulates a real-world use case of managing patient health records, including BMI calculations and automatic health verdicts with doctor-based data isolation, and a secure JWT-based login system — ideal for **Flask transitioning to FastAPI** or learning  scalable modern Python APIs development.\n\n    📌 Began as a FastAPI learning journey Project , evolved into a production-ready backend project.\n\n\n## 🌐 Live Docs\n\nYou can explore and test the API using the live Swagger documentation hosted here:\n\n**[https://medixapi.onrender.com/docs](https://medixapi.onrender.com/docs)**\n\nThis is the deployed version of the Patient Management System API, fully functional and ready to use.\n\n## 🌍 **Frontend Website:**  \n  [https://medix-neon.vercel.app](https://medix-neon.vercel.app) \n\n##  💻 **Frontend GitHub Repository:**  \n  [https://github.com/080bct12alex/MedixUI](https://github.com/080bct12alex/MedixUI)\n\n\n\n## ✅ Key Features\n\n-   🔐 JWT-authenticated API access\n    \n-   👨‍⚕️ Doctor-Based Access Control\n      -   📋 View all patients\n    \n      -   🔍 Retrieve a patient by ID\n    \n      -   ➕ Add new patient records\n    \n      -   🛠 Update patient information\n    \n      -   🗑 Delete a patient\n    \n      -   📊 Sort by   `_id`, `latest_diagnosis_date`, `latest_condition`, `age`,`height`, `weight`.\n\n      -   �� Automatically calculate BMI and assign a health category (`Underweight`, `Normal`, `Obese`)\n     - 🩺 Diagnosis Tracking\n       - Track each patient’s medical diagnosis history .\n     - 📚 Diagnosis-Based Grouping\n       - Group patients by `disease` , `condition` .\n\n     - Filter patients based on  `Disease name` , `Condition` , `Diagnosis` `date`. \n       \n\n----------\n\n## 🛠 Tech Stack\n\n-   **Language:** Python\n    \n-   **Framework:** FastAPI\n    \n-   **Database:** MongoDB (via Beanie ODM + Motor async driver)\n    \n-   **Tools:**\n    \n    -   Uvicorn (ASGI server)\n        \n    -   Pydantic (data validation)\n        \n    -   Passlib (password hashing)\n        \n    -   PyJWT (JWT token handling)\n        \n    -   Docker (containerization)\n        \n    -   Ruff (linter/formatter)\n        \n    -   Pytest (unit testing framework)\n    \n    -  GitHub Actions ( CI/CD Integration )\n    \n        \n-   **Frontend:** Next.js (integrated)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F080bct12alex%2Fmedixapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F080bct12alex%2Fmedixapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F080bct12alex%2Fmedixapi/lists"}