Game Safaris Reservations is A RESTFUL API built with Ruby on Rails. It makes use of JWT to implement Authentication and Authorization features. This is a full stack application, where users can access a list of Game Safaries activities from which they can choose an activity and make a reservation. The application can be accessed using the front end feature Game Safaris Reservations built using React and Redux.
- ruby 3.0.1
- Rails 6.1.4
- Postgres 13.3
- RSpec-rails
Below is a list of the end points and their respective use.
END POINT USE
POST/register Sign up
POST/sign_in Sign in
GET/users List all users
GET/users/:id Show a user
DELETE/users/:id Update a user
PATCH/users/:id Update a user
GET/activities List all activities
POST/activities Create activity
GET/activities/:id Show a single activity
PATCH/activities/:id Update activity
DELETE/activities/:id Delete activity
GET/reservations List all reservations
PATCH/reservations/:id Update a reservation
DELETE/reservations/:id Delete a reservation
- ruby 3.0.1
- Rails 6.1.4
- Postgres >=13.3
$ git clone https://github.com/gango-anan/game-park-reservations-api.git
Install the needed gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
rails db:seed
Finally, run the test suite to verify that everything is working correctly with:
rspec
If the test suite passes, you'll be ready to run the app in a local server.
Start server with:
rails server
http://localhost:3000
GALIWANGO ANANIYA
- GitHub: @gango-anan
- Twitter: @gango_anan
- LinkedIn: @galiwango-ananiya
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.