Pizzas is a basic API built with ruby on rails. This is the first Api design and will be optimized for better performance
In order to use this repository you will need the following:
- Operating System (Windows
10+
, Linux3.8+
, or MacOS X10.7+
) - RAM >= 4GB
- Free Space >= 2GB
This application has been built with the following tools:
- Ruby on Rails
- SQlite3
v1.6
This project is hosted, and can be accessed through this link:
or,
You can setup this repository locally by following this manual
-
Clone the repository
git clone [email protected]:LULAZ7/Pizzas.git
-
Ensure the ruby gems are setup in your machine
bundle install
-
Run the application
rails s
-
Open the application from your browser
The following endpoints/routes are ready for use:
https://pizzas-17gk.onrender.com/restaurants/restaurants
- Presents all restaurants.https://pizzas-17gk.onrender.com/restaurants/restaurants/:id
- Presents a json data of a specific restaurant.
- It contains nested pizzas data.
- It is used to delete a specific record data.
https://pizzas-17gk.onrender.com/restaurant_pizzas
- POST into the restaurant_pizzas table.
NB
You need to test it out using Postman or Thunderclient
https://pizzas-17gk.onrender.com/pizzas
- Presents all included pizzas
This project was contributed to by:
- 0.1
- Initial Release