Skip to content

CodePapi/restaurant-app-backend

Repository files navigation

restaurant-app-backend API Docs

Authentication APIS

API Endpoint Request type Data Collected
user signup
{BaseURL}/api/auth/signup/
POST username, email, password
user signin
{BaseURL} /api/auth/signim
POST username, password
profile
{BaseURL}/api/auth/profile
GET Bearer Token

Restaurants APIS

API Endpoint Request type Data Collected
get all restaurants from google & .csv(excell spreadsheet)
{BaseURL}/api/restaurants/
GET ``
filter restaurants by cuisine & location
{BaseURL}/api/restaurants?cuisine=cuisine&location=location
GET cuisine, location
get all locations
{BaseURL} /api/restaurants/locationsGET
``
get all cuisines
{BaseURL}/api/restaurants/cuisines
GET ``

Booking APIS

API Endpoint Request type Data Collected
book a restaurant
{BaseURL}/api/booking/
POST Bearer Token, bookedBy, restaurantData
get all restaurants booked by user
{BaseURL}/api/booking
GET Bearer Token

Releases

No releases published

Packages

 
 
 

Contributors