{"id":18695144,"url":"https://github.com/ebraheemtammam/pharma","last_synced_at":"2026-04-12T02:33:38.334Z","repository":{"id":251727917,"uuid":"836702130","full_name":"EbraheemTammam/Pharma","owner":"EbraheemTammam","description":"Pharmacy Management System","archived":false,"fork":false,"pushed_at":"2025-01-22T09:08:11.000Z","size":47541,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T00:11:47.998Z","etag":null,"topics":["dotnet","efcore","git","onion-architecture","orm","postgresql","repository-pattern","unitofwork-pattern","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","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/EbraheemTammam.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":"2024-08-01T11:34:10.000Z","updated_at":"2025-01-22T09:08:15.000Z","dependencies_parsed_at":"2024-11-17T07:20:24.879Z","dependency_job_id":"20680cd4-851d-4187-8584-559180c10582","html_url":"https://github.com/EbraheemTammam/Pharma","commit_stats":null,"previous_names":["ebraheemtammam/pharma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EbraheemTammam/Pharma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbraheemTammam%2FPharma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbraheemTammam%2FPharma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbraheemTammam%2FPharma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbraheemTammam%2FPharma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EbraheemTammam","download_url":"https://codeload.github.com/EbraheemTammam/Pharma/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbraheemTammam%2FPharma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["dotnet","efcore","git","onion-architecture","orm","postgresql","repository-pattern","unitofwork-pattern","webapi"],"created_at":"2024-11-07T11:14:04.751Z","updated_at":"2026-04-12T02:33:38.296Z","avatar_url":"https://github.com/EbraheemTammam.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pharma\nPharmacy Management System built with .NET 8 Web API following Onion Architecture.\n\n## Project Overview\nThis project is concerned with managing pharmacy from financial prespective, starting from product providers and the incoming orders at which products enter the system, followed by the storage and ends with orders and customers.\n#### Note: this project following DB-first approach, so for those who may want to run it locally, you may need to delete the migrations, create your own and then update your database.\n\n## Database Design\nThe following ERD describes the database design\n\n![ERD](.github/pharmaERD.png)\n\n## Project Structure\nThis project is built following 4-Layered Onion Architecture\n\n### Domain Layer (Core)\nThis layer contains the business models of the system along with the interfaces for repositories and unit of work.\n\n### Application Layer\nThis layer contains the workflow of the proejct such as interfaces for services, Data transfer objects, Mappers from models to DTOs and vice versa, generic responses for dealing with errors and finally the services implementation.\n\n\n### Infrastructure Layer\nThis layer concerned with dealing with outside world, like dealing with database, containing configurations, DBContext and the implementation of the interfaces in Domain layer.\n\n### Presentation Layer (API)\nThis layer contains the application endpoints and the configuration for web app and service collections like dependency injection, authentication, authorization, cookie config and so on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febraheemtammam%2Fpharma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febraheemtammam%2Fpharma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febraheemtammam%2Fpharma/lists"}