DEV Community

sanjay poudel
sanjay poudel

Posted on

Hospital management System :Based on symptoms prediction disease and doctor suggestion

GitHub “Finish-Up-A-Thon” Challenge Submission

This is a submission for the GitHub Finish-Up-A-Thon Challenge

What I Built

In real-world scenarios, people are often unsure which doctor to consult for specific symptoms. To address this, I developed a Hospital Management System where users can book appointments based on predicted diseases. The system uses a Random Forest Classifier model, achieving 95% accuracy in predicting diseases from symptoms. Once a disease is predicted, the system automatically suggests the appropriate specialist. For example, if heart disease is detected, it recommends consulting a cardiologist.

Demo

You can easily find my project on GitHub at: https://github.com/sanjaynep/Hospital-management-system
Go and check it out, and also provide me with suggestions for future enhancements. I have mentioned how to get started in the README.

The Comeback Story

At first, I worked on the idea with only a JWT authentication system. Later, I decided to expand it into a Hospital Management System with simple registration, login, logout, authentication, authorization, and a hospital management dashboard. After learning about this challenge, I integrated an ML model to help predict diseases. I also containerized the application and implemented an async task that automatically cancels appointments after 24 hours if no response comes from the doctor, allowing users to book another appointment. In addition, I added 18 unit tests, all of which passed, ensuring the project follows the waterfall model of software development lifecycle.

My Experience with GitHub Copilot

GitHub Copilot helped me a lot in this project. It provided workflow designs and supported me with frontend development, as I mostly work as a backend engineer. Copilot assisted in testing, writing blocks of code, and evaluating models to choose the most suitable one. It also helped me with debugging errors, optimizing functions, and suggesting clean coding practices. In addition, Copilot guided me in structuring APIs, designing the dashboard layout which made the overall development process faster and more efficient.
here are my some images about my project


This overall project has helped me gain valuable experience in full‑stack development, machine learning, and DevOps. GitHub Copilot worked like a friend throughout the process, supporting me in designing workflows, writing code, testing, and refining the project to give it a polished and professional touch

Top comments (0)