Skip to content

A web app that allows the user sign up or log in as a patient and book appointments with a doctor.

License

Notifications You must be signed in to change notification settings

javitocor/doctor-appointments

Repository files navigation

README

Contributors Forks Stargazers Issues Hireable

Doctor Appointments App

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.

Built With

  • 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

Getting Started

Usage

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/

Future Features

  • Add user locations.
  • Add extra UI.
  • Add statistics.
  • Add JSON feature

Author

👤 Javier Oriol Correas Sanchez Cuesta

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments 🚀

📝 License

This project is MIT licensed.

About

A web app that allows the user sign up or log in as a patient and book appointments with a doctor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages