{"id":24272743,"url":"https://github.com/sorna-fast/fast_api_hospital","last_synced_at":"2025-03-05T07:24:54.917Z","repository":{"id":260363254,"uuid":"864333965","full_name":"sorna-fast/fast_api_hospital","owner":"sorna-fast","description":"Building API for entities of a hospital","archived":false,"fork":false,"pushed_at":"2025-02-23T14:25:59.000Z","size":857,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T15:28:53.902Z","etag":null,"topics":["async","auth","fastapi","passlib","requests","sqlalchemy","streamlit"],"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/sorna-fast.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}},"created_at":"2024-09-28T00:48:10.000Z","updated_at":"2025-02-23T14:26:03.000Z","dependencies_parsed_at":"2025-01-15T19:13:14.109Z","dependency_job_id":"590c10f8-4ec8-44d5-9d86-663ccb4e4cd9","html_url":"https://github.com/sorna-fast/fast_api_hospital","commit_stats":null,"previous_names":["sorna-fast/fast_api_hospital"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorna-fast%2Ffast_api_hospital","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorna-fast%2Ffast_api_hospital/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorna-fast%2Ffast_api_hospital/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorna-fast%2Ffast_api_hospital/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorna-fast","download_url":"https://codeload.github.com/sorna-fast/fast_api_hospital/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241984671,"owners_count":20052938,"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":["async","auth","fastapi","passlib","requests","sqlalchemy","streamlit"],"created_at":"2025-01-15T18:53:25.717Z","updated_at":"2025-03-05T07:24:54.909Z","avatar_url":"https://github.com/sorna-fast.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast API Hospital Project\n\n**پروژه API بیمارستان با FastAPI**\n\n## 📜 معرفی پروژه | Project Overview\n\nاین پروژه یک API است که با استفاده از **FastAPI** برای مدیریت اطلاعات بیمارستانی پیاده‌سازی شده است. هدف این پروژه ایجاد یک سیستم کارآمد برای مدیریت بیماران، پزشکان، پذیرش‌ها، آزمایش‌ها و سوابق پزشکی است.\n\nThis project is an API built with **FastAPI** for managing hospital data. The goal is to provide an efficient system for handling patients, doctors, admissions, tests, and medical records.\n\n---\n\n## 🛠 ویژگی‌ها | Features\n\n- مدیریت اطلاعات بیماران، پزشکان، پذیرش‌ها و سوابق.\n- پیاده‌سازی سیستم احراز هویت با JWT.\n- قابلیت درج، ویرایش و حذف اطلاعات از پایگاه داده.\n- استفاده از FastAPI و SQLAlchemy برای ارتباط با پایگاه داده.\n- تست‌های مربوط به API با استفاده از pytest.\n\n---\n\n## 🚀 شروع کار | Getting Started\n\n### پیش‌نیازها | Prerequisites\n\nبرای اجرای این پروژه به موارد زیر نیاز دارید:\n\n- **Python 3.7+**\n- **FastAPI**\n- **SQLAlchemy**\n- **Databases** (برای ارتباط با پایگاه داده)\n\n### نصب | Installation\n\n1. ابتدا به دایرکتوری پروژه بروید.\n2. محیط مجازی ایجاد کنید:\n\n    ```bash\n    python -m venv venv\n    ```\n\n3. محیط مجازی را فعال کنید:\n\n    **برای ویندوز:**\n\n    ```bash\n    venv\\Scripts\\activate\n    ```\n\n    **برای لینوکس/macOS:**\n\n    ```bash\n    source venv/bin/activate\n    ```\n\n4. وابستگی‌ها را نصب کنید:\n\n    ```bash\n    pip install -r requirement.txt\n    ```\n\n\n### راه‌اندازی پروژه | Running the Project\n\nبرای راه‌اندازی پروژه، دستور زیر را اجرا کنید:\n\n```bash\nuvicorn main:app --reload\n```\n### ⚙️ مستندات API | API Documentation\nمستندات کامل API از طریق مسیر زیر در دسترس است:\n\nhttp://127.0.0.1:8000/docs\n\nاز این بخش می‌توانید تمامی endpoint‌ها و نحوه استفاده از آن‌ها را مشاهده کنید.\n\n### 🔧 تکنولوژی‌ها | Technologies Used \n\nFastAPI: برای ساخت API سریع و مقیاس‌پذیر.\nSQLAlchemy: برای ارتباط با پایگاه داده SQL.\nJWT: برای احراز هویت و مدیریت دسترسی.\npytest: برای تست‌های واحد و یکپارچه.\n\n\n\n### Project Structure | ساختار پروژه 📂\n### ├── main.py              #  فایل اصلی API\n### ├── models.py            #  مدل‌های پایگاه داده\n### ├── schemas.py           #  طرح‌های داده (Pydantic models)\n### ├── database.py          #  تنظیمات پایگاه داده\n### ├── auth.py              #  مدیریت احراز هویت\n### ├── requirements.txt     #  وابستگی‌های پروژه\n### ├── tests/               # پوشه تست‌ها\n### │   ├── test_main.py     #  تست‌های مربوط به API\n### └── README.md            #  مستندات پروژه\n\n\n\n\n### 📧 ارتباط با من | Contact\nبرای هرگونه سوال یا پیشنهاد، می‌توانید از طریق ایمیل با من تماس بگیرید: masudpythongit@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorna-fast%2Ffast_api_hospital","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorna-fast%2Ffast_api_hospital","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorna-fast%2Ffast_api_hospital/lists"}