In this app, User can login/sign up. The user can see the list of doctors. Then the user can booked an appointment to see the doctor in a specific date. Also, the user can remove an appointment The app is using for genrating api endpints with(create/view/delete/update ) functions.
This endpint will genrate list of items:
[
{
"id": 1,
"name": "Gints",
"title": "Dentist",
"description": "Really a good dr.",
"image": "https://avatars.githubusercontent.com/u/43877689?v=4",
"price": null,
"created_at": "2022-05-06T10:22:58.041Z",
"updated_at": "2022-05-06T10:22:58.041Z",
"likes_counter": null,
"reviews_counter": null,
"location": null
}]
This will show the list of reservations:
http://localhost:3001/reservations
[
{
"id": 1,
"created_at": "2022-05-06T10:22:58.325Z",
"updated_at": "2022-05-06T10:22:58.325Z",
"user_id": 1,
"item_id": 1,
"visit_type": "reservation1",
"start_time": "2022-05-19",
"end_time": "2022-05-20"
}]
If you prefer to clone the project locally, you can also get to the docs by navigating to http://localhost:3001/api-docs/index.html. There you will see a list of all endpoints and their descriptions.
To get a local copy up and running follow these simple example steps.
git clone https://github.com/ishimwezachee/hello-rails-back-end.git
cd hello-rails-back-end
Install npm with:
npm i
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
Start server with:
rails server
Open http://localhost:3001/ in your browser.
UI-PULL-REQUEST: ui-pull-request-link
Install rspec with:
bundle install
and
rails generate rspec:install
run the test with:
rspec spec
API DOC:
👤 Zachee Ishimwe
- GitHub: @zacheeIshimwe
- LinkedIn: @zacheeIshimwe
👤 Aku Khan
- GitHub: @aakbarkhan
- Twitter: @aaku_mdakbar
- LinkedIn: LinkedIn
👤 RolandM99
- GitHub: @RolandM99
- LinkedIn: LinkedIn
- Twitter: @ManfulMwez
Give a ⭐️ if you like this project!
- Murat Korkmaz Design on Behance
- Rémi Rucojevic codepen
This project is MIT licensed.