This is a simple Rails application developed as a coding assessment for a Ruby on Rails developer position at Makerble. The application includes a receptionist portal and a doctor portal.
You can see a live version of the app here. Please note that the app is hosted on a free tier and may take a moment to load if it has been inactive.
- Single login page for both portals.
- Receptionists can register a new patient and perform CRUD operations.
- Doctors can view registered patients.
- Doctors can view a graph that represents the number of patients registered vs days.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Ruby and Rails installed on your machine. See this guide for instructions on setting up Rails.
- Clone the repository:
git clone https://github.com/DiptoSarkar182/patient_management
- Navigate into the project directory:
cd patient_management
- Install the dependencies:
bundle install
- Set up the database:
rails db:create db:migrate
- Start the server:
rails server
- Visit
http://localhost:3000/
in your browser to access the application.