Bookit is an app for booking a doctor's appointment.
An API for an appointment booking platform built with Ruby on Rails.
Method | End point | Public | Action |
---|---|---|---|
POST | sign_up | True | Register a new user |
POST | sign_in | True | Login a registered user |
DELETE | log_out | False | Logout a user |
POST | doctors | False | Admin creates doctors |
PATCH | doctors/:id | False | Admin edits doctor’s details |
DELETE | doctors/:id | False | Admin deletes doctor’s details |
GET | doctors | False | Fetch all doctors |
GET | doctors/:id | False | Fetch a specific doctor |
POST | appointments | False | Book an appointment |
GET | appointments | False | Fetch appointments for a specific user |
GET | appointments | False | Admin fetches all appointments |
To get a copy up and running follow these simple example steps:-
https://github.com/Mupa1/bookit-api
to your local machine.bundle install
to install dependancies.rails s
to to run the application in development mode.bundle exec rspec
👤 Mupa M’mbetsa Nzaphila
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!