| 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 |
| 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/locations GET |
`` | |
| get all cuisines {BaseURL}/api/restaurants/cuisines |
GET |
`` |
| 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 |