/hospital_app

An all-in-one hospital management system built with Ruby on Rails. Receptionists can register patients and manage records with CRUD operations. Doctors access patient details and visualize patient registrations over time with an intuitive graph. Utilizes PostgreSQL for robust data storage.

Primary LanguageRubyMIT LicenseMIT

HOSPITAL APP

logo
demo.mp4

📗 Table of Contents

📖 [HOSPITAL APP]

[HOSPITAL APP] A web-based hospital management system built with Ruby on Rails, designed to streamline patient registration and management. The application features a unified login portal for both receptionists and doctors, allowing receptionists to register patients and manage their records, while doctors can view registered patients and visualize patient registrations over days through graphs.

🛠 Built With

1- Ruby 3.2.2
2- Rails 7.0.7.2
3- PostgreSQL
4- Gitflow
5- Rubocop
6- RSpec

Tech Stack

Client
Rails
Database

Key Features

  • [User Authentication]: Users can sign up, log in, and log out of the application.
  • [User Authorization]: Users can only access certain pages based on their role.
  • [Patient Registration]: Receptionists can register patients with their details.
  • [Patient Management]: Receptionists can view and manage patient records.
  • [Doctor Portal]: Doctors can view registered patients and visualize patient registrations over days through graphs.
  • [Unified Login]: Both receptionists and doctors can log in through a unified login portal.

(back to top)

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Web Browser (Chrome recommended)
Code editor (VS recommended)
GitHub account

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone "https://github.com/danielochuba/hospital_app.git"

Install

Go to your /hospital_app folder:

  cd hospital_app
  bundle install
  rails server

Usage

  rails server

Run Tests

  rspec spec

or

  rspec spec -f d -c

for a detailed test info

(back to top)

👥 Author

👤 Daniel Ochuba Ugochukwu**

(back to top)

🔭 Future Features

  • Responsive Design
  • Thorough Styling

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, please give me a like, it doesn't cost you anything and it helps me a lot to keep working.

❓ FAQ

(back to top)

📝 License

This project is MIT licensed.

(back to top)