A web app that allows the user sign up or log in as a patient and book appointments with a doctor. The app is based in 3 models, User, Role and Appointments. Only an Admin user can create Doctor users, by default users sign up as patients. To book an appointment the patient must send 3 photos to the Doctor to create a 3d image. Built with Ruby on Rails.
Additional description about the project and its features.
- HTML
- CSS
- BOOTSTRAP
- RUBY v2.6.5
- RUBY ON RAILS v5.2.4
- DEVISE
- CANCANCAN
- CARRIERWAVE
- GITHUB ACTIONS
- VSCODE
- GEMS USED FOR TESTING:
- CAPYBARA
- SELENIUM WEBDRIVER
- CHROMEDRIVER HELPER
- DATABASE CLEANER
- RSPEC-RAILS
- SHOULDA-MATCHERS
To have this app on your pc, you need to:
-
download or clone this repo:
- Clone with SSH:
git@github.com:javitocor/doctor-appointments.git
- Clone with HTTPS
https://github.com/javitocor/doctor-appointments.git
-
In the project directory, you can run:
Install gems with:
bundle install
Setup database with:
rails db:migrate
Populate Database with:
rails db:seed
Log in with email: 'kev@example.com', and password:'aaaaaaaa' to log in as Patient
Log in with email: 'sally@example.com', and password:'aaaaaaaa' to log in as Doctor
Log in with email: 'jack@example.com', and password:'aaaaaaaa' to log in as Admin
Access the page by typing in your web browser
http://localhost:3000/
- Add user locations.
- Add extra UI.
- Add statistics.
- Add JSON feature
👤 Javier Oriol Correas Sanchez Cuesta
- Github: @javitocor
- Twitter: @JavierCorreas4
- Linkedin: Javier Oriol Correas Sanchez Cuesta
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.