{"id":16694921,"url":"https://github.com/k3ury99/hospital-api","last_synced_at":"2025-04-10T01:41:08.553Z","repository":{"id":247493621,"uuid":"825997922","full_name":"K3ury99/Hospital-API","owner":"K3ury99","description":"API for hospital management using Entity Framework and C#, to manage departments, patients, doctors, laboratories, employees, treatments, medications, appointments, invoices, hospitalizations, surgeries, lab results, prescriptions, and payments.","archived":false,"fork":false,"pushed_at":"2024-08-19T01:08:14.000Z","size":25,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T03:22:59.692Z","etag":null,"topics":["api-rest","entity-framework-core-web-api","sql-server"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/K3ury99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-08T23:10:32.000Z","updated_at":"2024-10-22T12:34:02.000Z","dependencies_parsed_at":"2024-07-09T03:46:00.373Z","dependency_job_id":"0556fa71-b79c-43d8-a1bc-884ab666f598","html_url":"https://github.com/K3ury99/Hospital-API","commit_stats":null,"previous_names":["k3ury99/hospital-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K3ury99%2FHospital-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K3ury99%2FHospital-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K3ury99%2FHospital-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/K3ury99%2FHospital-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/K3ury99","download_url":"https://codeload.github.com/K3ury99/Hospital-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142076,"owners_count":21054584,"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":["api-rest","entity-framework-core-web-api","sql-server"],"created_at":"2024-10-12T17:04:22.381Z","updated_at":"2025-04-10T01:41:08.533Z","avatar_url":"https://github.com/K3ury99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hospital API 🏥\n\u003e [!NOTE]\nAPI for hospital management using Entity Framework and C#, to manage departments, patients, doctors, laboratories, employees, treatments, medications, appointments, invoices, hospitalizations, surgeries, lab results, prescriptions, and payments.\n\n\u003cdiv style=\"display: flex;\"\u003e\n  \u003cimg src=\"https://github.com/K3ury99/Hospital-API/assets/128008789/0b513eaa-c2c6-450c-b4b3-24db3f11749a\" width=\"49%\"\u003e\u003c/img\u003e\n  \u003cimg src=\"https://github.com/K3ury99/Hospital-API/assets/128008789/75287c78-6298-4395-aa80-bea91ed84ee2\" width=\"49%\"\u003e\u003c/img\u003e\n\u003c/div\u003e\n\n\n## Table of Contents 📔\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Database Structure](#database-structure)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Endpoints](#endpoints)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features ✨\n\n- Comprehensive management of hospitals and medical staff.\n- Detailed registration and tracking of patients.\n- Efficient administration of appointments and treatments.\n- Integration with laboratory systems and medical results.\n- Automated billing and payment management.\n\n## Technologies Used ♟\n\n- C#\n- .NET\n- Entity Framework Core\n- SQL Server\n- ASP.NET Core\n\n## Database Structure 💎\n\nThe database includes the following tables:\n\n1. **Departments**\n2. **Patients**\n3. **Doctors**\n4. **Laboratories**\n5. **Employees**\n6. **Treatments**\n7. **Medications**\n8. **Appointments**\n9. **Invoices**\n10. **Hospitalizations**\n11. **Surgeries**\n12. **LabResults**\n13. **Prescriptions**\n14. **Payments**\n\n## Installation 🛠\n\nTo install and run this project on your local machine, follow these steps:\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/yourusername/hospital-api.git\n    ```\n\n2. Navigate to the project directory:\n    ```bash\n    cd hospital-api\n    ```\n\n3. Restore NuGet packages:\n    ```bash\n    dotnet restore\n    ```\n\n4. Configure the connection string to your database in the `appsettings.json` file.\n\n5. Apply migrations to create the database:\n    ```bash\n    dotnet ef database update\n    ```\n\n6. Run the application:\n    ```bash\n    dotnet run\n    ```\n\n## Usage 🐱‍👤\n\nOnce the application is running, you can access the API via `http://localhost:5000` (or the port configured in your project).\n\n## Endpoints\n\nBelow are some of the available endpoints:\n\n- **Departments**\n  - `GET /api/departments`\n  - `POST /api/departments`\n  - `GET /api/departments/{id}`\n  - `PUT /api/departments/{id}`\n  - `DELETE /api/departments/{id}`\n\n- **Patients**\n  - `GET /api/patients`\n  - `POST /api/patients`\n  - `GET /api/patients/{id}`\n  - `PUT /api/patients/{id}`\n  - `DELETE /api/patients/{id}`\n\n- **Doctors**\n  - `GET /api/doctors`\n  - `POST /api/doctors`\n  - `GET /api/doctors/{id}`\n  - `PUT /api/doctors/{id}`\n  - `DELETE /api/doctors/{id}`\n\n## Contributing 🏆\n\nContributions are welcome. Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/new-feature`).\n3. Make your changes and commit them (`git commit -am 'Add new feature'`).\n4. Push to the branch (`git push origin feature/new-feature`).\n5. Open a pull request.\n\n## License 📏\n\nThis project is licensed under the [MIT] License - see the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk3ury99%2Fhospital-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk3ury99%2Fhospital-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk3ury99%2Fhospital-api/lists"}