{"id":20605186,"url":"https://github.com/arnab-developer/medicalsystem","last_synced_at":"2026-04-05T23:02:31.468Z","repository":{"id":43762425,"uuid":"254545852","full_name":"Arnab-Developer/MedicalSystem","owner":"Arnab-Developer","description":"Personal medical system.","archived":false,"fork":false,"pushed_at":"2023-07-06T02:36:30.000Z","size":1172,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-10T22:44:34.651Z","etag":null,"topics":["asp-net-mvc","azure","cqrs-pattern","csharp","docker","dotnet-5","entity-framework","github-actions","grpc","mediatr","microservice","nunit"],"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/Arnab-Developer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-10T04:46:30.000Z","updated_at":"2025-08-20T15:36:01.000Z","dependencies_parsed_at":"2025-10-10T22:44:03.842Z","dependency_job_id":"ad515121-a623-4aa7-9614-380e038834ee","html_url":"https://github.com/Arnab-Developer/MedicalSystem","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Arnab-Developer/MedicalSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FMedicalSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FMedicalSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FMedicalSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FMedicalSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arnab-Developer","download_url":"https://codeload.github.com/Arnab-Developer/MedicalSystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FMedicalSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31452901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asp-net-mvc","azure","cqrs-pattern","csharp","docker","dotnet-5","entity-framework","github-actions","grpc","mediatr","microservice","nunit"],"created_at":"2024-11-16T09:26:58.678Z","updated_at":"2026-04-05T23:02:30.839Z","avatar_url":"https://github.com/Arnab-Developer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medical system\n\nMedical system is a small application build with ASP.NET 5 and EF to document medical records. \nUser can store doctor, patient and consultation information in this application with their web browser.\nThis is a proof of concept of how we can use microservice with ASP.NET 5. \n\n![image](https://user-images.githubusercontent.com/3396447/113992852-7cf3a200-9871-11eb-8088-5063df947bc7.png)\n\nThis is influenced by [.NET Microservices Sample Reference Application](https://github.com/dotnet-architecture/eShopOnContainers)\n\n## CI CD status\n\n| Module | Status |\n|--------|-----------|\n| Doctor service | [![Doctor service CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/doctor-service-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/doctor-service-ci-cd.yml) |\n| Patient service | [![Patient service CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/patient-service-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/patient-service-ci-cd.yml) |\n| Consultation service | [![Consultation service CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/consultation-service-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/consultation-service-ci-cd.yml) |\n| Web gateway | [![Web gateway CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/web-gateway-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/web-gateway-ci-cd.yml) |\n| Web mvc | [![Web mvc CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/web-mvc-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/web-mvc-ci-cd.yml) |\n| Doctor sync job | [![Doctor sync job CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/doctor-sync-job-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/doctor-sync-job-ci-cd.yml) |\n| Patient sync job | [![Patient sync job CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/patient-sync-job-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/patient-sync-job-ci-cd.yml) |\n| Health check dashboard | [![Health check dashboard CI CD](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/health-check-dashboard-ci-cd.yml/badge.svg)](https://github.com/Arnab-Developer/MedicalSystem/actions/workflows/health-check-dashboard-ci-cd.yml) |\n\n## Tech stack\n\n| Module | Tech |\n|--------|------|\n| Backend apis | ASP.NET 5 gRPC service |\n| Gateway | ASP.NET 5 Web Api |\n| Frontend web application | ASP.NET 5 MVC |\n| Jobs | Azure function |\n| Database access | Entity Framework |\n| Database | SQL Server |\n| Unit test | NUnit |\n\n## Architecture diagram\n\n![Medical system architecture](https://github.com/Arnab-Developer/MedicalSystem/blob/main/Assets/MedicalSystem.jpg)\n\n## Docker images\n\nThis app is in docker images and stored in dockerhub.\n\n| Images | Dockerhub | Version |\n|--------|---------|-----------|\n| Doctor service | https://hub.docker.com/r/45862391/doctorservice | ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/45862391/doctorservice) |\n| Patient service | https://hub.docker.com/r/45862391/patientservice | ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/45862391/patientservice) |\n| Consultation service | https://hub.docker.com/r/45862391/consultationservice | ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/45862391/consultationservice) |\n| Web gateway | https://hub.docker.com/r/45862391/webgateway | ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/45862391/webgateway) |\n| Web mvc | https://hub.docker.com/r/45862391/webmvc | ![Docker Image Version (latest by date)](https://img.shields.io/docker/v/45862391/webmvc) |\n\n## Hosting\n\nWhen a new release is created then this app is stored inside a docker image and push to docker hub \nthrough CI CD. Hosting in Azure is not done as a part of CI CD. That needs to be done manually.\n\n- Create a new resource group in Azure\n- In that resource group create the following resources\n  - App Service Plan for Linux\n  - Web App for Doctor service, Patient service, Consultation service, Web Gateway and Web Mvc\n  - SQL Server\n  - Database for Doctor service, Patient service and Consultation service\n- Create tables in the databases for Doctor service, Patient service and Consultation service\n- Update the connection strings in the web app configuration for Doctor service, Patient service and Consultation service\n- Update api endpoint urls in Web Gateway and Web Mvc\n\nNow open the Web App URL in web browser for Web Mvc and you should access the app.\n\nThe future plan is to deploy the services in AKS.\n\n## How to run\n\nYou need Visual Studio 2019, ASP.NET 5, Entity Framework, Azure tools for Visual Studio 2019 and SQL Server 2016 to work \non this solution locally. \n\n- Clone the repo\n- Create the databases and tables with the\n[script provided](https://github.com/Arnab-Developer/MedicalSystem/tree/main/DatabaseScripts) \nin the repo.\n- Update the connection strings and other configs in `appsettings.Development.json` \nfile in different projects as applicable to your local settings before executing this app.\n- Open the solution in Visual Studio\n- Set the below projects as startup projects\n  - Doctor service\n  - Patient service\n  - Consultation service\n  - Web gateway\n  - Web frontend\n- Press F5 to run\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fmedicalsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnab-developer%2Fmedicalsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fmedicalsystem/lists"}