Restaurant Listing Api

This api gets a list all restaurant available in a Location and also identifies them either to be a Bukka, a Restaurant or an Eatery.

Authorization 6

This route comprises of all the need endpoints for the CRUD activity in the api.

Description

This route allows admin to access the forgot password option.

Body
{ "email":"admin@email.com" }
Description

This route gets the details/profile of the currently logged in user.

Description

Logs user with valid credentials in to the platform as an admin

Body
{ "username": "admin", "password":"Admin11" }
Description

This route logs currently logged in user out and terminates the session.

Description

This route allows for creation of a new admin account.

Body
{ "username": "Admin", "password": "Admin11", "phoneNumber": "08145290260", "email": "admin@email.com" }
Description

This resets the password using token sent to user’s email address.

Body
{ "password": "gfgdfdfdf" }

This route contains a list of all possible requests you can perform on a Menu listing in the api

Description

This route creates a food menu by using a restaurant ID.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Body
{ "menuName": " Rice", "description": " A rich spinach stew usually made with spinach, scotch bonnets, and red bell pepper." }
Description

This route allows you delete a menu using its ID as a reference

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Body
{ "price": 400, "menuName": "Eba00001" }
Description

This route helps you get all food Menu in the API database.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Description

This route helps you all food menu that belong to a particular restaurant by using the Restaurant ID as its params reference.

Description

This route helps you get a single menu listed in the api’s database by it’s ID.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Description

This route updates the details of food menu.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Body
{ "price":700 }
Description

This route helps you upload a photo or up to 5 photos for a menu.

Body
KeyValueDescription
photos
photos
photos
photos

Restaurant 6

This route contains a list of all possible requests you can perform on the restaurant route in the api

Description

This route creates a new restaurant.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Body
{ "businessName": "SpiceBowl Restaurant", "address": "Shop 4 Imol Plaza Ado Road, Ajah, Lagos, Nigeria", "restaurantType": "Eatery" }
Description

This route deletes a single restaurant by its ID.

Description

This route helps you get all restaurants in the API.

Description

This route helps you get a single restaurant listed in the api’s database.

Description

This route updates a single restaurant by its ID.

Headers
KeyValueDescription
Content-Typeapplication/json

JSON Type

Body
{ "restaurantType":"Canteen" }
Description

This route helps you upload a photo for a restaurant.

Body
KeyValueDescription
image

Restaurant/Query & Filter 2

Query
KeyValueDescription
selectbusinessName, reviews, restauranttype
parkinglotfalse
sortbusinessName
page2
Query
KeyValueDescription
selectbusinessName, restauranttype
parkinglotfalse
averageCost500