/effective-octo-robot

A modern web application built with Ruby on Rails 7+, providing a unified portal for Receptionists and Doctors to manage and visualize patient data effectively. The app demonstrates robust authentication, role-based access, and real-time interactions using Turbo Streams, while offering a responsive

Primary LanguageHTML

๐Ÿฅ Receptionist & Doctor Portal App

A modern web application built with Ruby on Rails 7+, providing a unified portal for Receptionists and Doctors to manage and visualize patient data effectively. The app demonstrates robust authentication, role-based access, and real-time interactions using Turbo Streams, while offering a responsive, dockerized development environment.

๐Ÿ›  Built With

Tech Stack

Framework & Language
Database
Frontend & Styling
Authentication & Authorization
Other Tools

Key Features

  • ๐Ÿงพ Single Login Page for all roles (Receptionist, Doctor, Admin, Superadmin)
  • ๐Ÿ‘ฉโ€๐Ÿ’ผ Receptionist Portal to register and manage patients (CRUD)
  • ๐Ÿฉบ Doctor Portal to view patients and visualize registration trends with charts
  • ๐Ÿ“ˆ Patient Graph with Chartkick showing number of registrations per day
  • ๐Ÿงช Role-Based Access using Cancancan (Superadmin, Admin, Doctor, Receptionist)
  • ๐Ÿ“ฑ Responsive Design with Tailwind CSS
  • ๐Ÿ” Secure Authentication with Devise
  • ๐Ÿงญ Landing Page for enhanced UX
  • ๐Ÿ”„ Turbo Streams for real-time updates
  • ๐Ÿณ Dockerized Environment for simplified setup
  • ๐Ÿ‘€ Conditional Rendering based on roles and permissions

๐Ÿš€ Live Demo

Demo available soon!


๐Ÿ’ป Getting Started

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

Prerequisites

  • Ruby >= 3.1
  • Rails >= 7
  • Docker & Docker Compose
  • Node.js & Yarn (optional if not using Docker)

Setup

Clone the repository:

git clone https://github.com/skyv26/effective-octo-robot.git
cd effective-octo-robot

Install & Run with Docker

docker-compose build
docker-compose up

The app should be running at http://localhost:3000


Install & Run Manually

bundle install
yarn install
rails db:setup
bin/dev

๐Ÿ‘ฅ Authors

๐Ÿ‘จโ€๐Ÿ’ป Aakash Verma


๐Ÿ”ญ Future Features

  • ๐Ÿ“ Patient Notes or Medical History
  • ๐Ÿ“† Appointment Booking & Management
  • ๐Ÿ”” Notification System for patient registration
  • ๐Ÿ“ค Export patient reports (PDF/CSV)
  • ๐ŸŒ Deployment on Render/Heroku

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

  • Fork the repo
  • Create your feature branch (git checkout -b feature-name)
  • Commit your changes (git commit -m 'Add some feature')
  • Push to the branch (git push origin feature-name)
  • Open a pull request

โญ๏ธ Show your support

If you like this project, please โญ๏ธ the repository and share your thoughts!


๐Ÿ™ Acknowledgements

  • Rails Community
  • Hotwire Team
  • Tailwind Labs
  • Devise & Cancancan maintainers
  • Chartkick for awesome visualizations

๐Ÿ“ License

This project is MIT licensed.