https://github.com/javitocor/doctor-appointments
A web app that allows the user sign up or log in as a patient and book appointments with a doctor.
https://github.com/javitocor/doctor-appointments
cancancan capybara carrierwave devise rails6 roles rspec-rails
Last synced: 6 months ago
JSON representation
A web app that allows the user sign up or log in as a patient and book appointments with a doctor.
- Host: GitHub
- URL: https://github.com/javitocor/doctor-appointments
- Owner: javitocor
- License: mit
- Created: 2021-08-10T03:16:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T03:25:15.000Z (about 4 years ago)
- Last Synced: 2025-02-13T12:53:46.133Z (8 months ago)
- Topics: cancancan, capybara, carrierwave, devise, rails6, roles, rspec-rails
- Language: Ruby
- Homepage:
- Size: 26.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
# 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](https://github.com/javitocor/doctor-appointments/archive/development.zip) 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:
``` bash
bundle install
```
Setup database with:``` bash
rails db:migrate
```Populate Database with:
``` bash
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``` bash
http://localhost:3000/
```## Future Features
- Add user locations.
- Add extra UI.
- Add statistics.
- Add JSON feature## Author
👤 Javier Oriol Correas Sanchez Cuesta
- Github: [@javitocor](https://github.com/javitocor)
- Twitter: [@JavierCorreas4](https://twitter.com/JavierCorreas4)
- Linkedin: [Javier Oriol Correas Sanchez Cuesta](https://www.linkedin.com/in/javier-correas-sanchez-cuesta-15289482/)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](https://github.com/javitocor/doctor-appointments/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments 🚀
- [Rails documentation](https://guides.rubyonrails.org/)
## 📝 License
This project is [MIT](lic.url) licensed.
[contributors-shield]: https://img.shields.io/github/contributors/javitocor/doctor-appointments.svg?style=flat-square
[contributors-url]: https://github.com/javitocor/doctor-appointments/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/javitocor/doctor-appointments.svg?style=flat-square
[forks-url]: https://github.com/javitocor/doctor-appointments/network/members
[stars-shield]: https://img.shields.io/github/stars/javitocor/doctor-appointments.svg?style=flat-square
[stars-url]: https://github.com/javitocor/doctor-appointments/stargazers
[issues-shield]: https://img.shields.io/github/issues/javitocor/doctor-appointments.svg?style=flat-square
[issues-url]: https://github.com/javitocor/doctor-appointments/issuesover: