Skip to content

KAYTERDOESTHINGS/Food-App-API-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food App API

Users API

Request Method URL Body Type Arguments
Get user GET https://food-app-api-demo.onrender.com/api/users/:id N/A N/A
Login POST https://food-app-api-demo.onrender.com/api/users/login raw JSON email, password
Register POST https://food-app-api-demo.onrender.com/api/users/ raw JSON name, email, password
Update user PUT https://food-app-api-demo.onrender.com/api/users/:id form-data image (file)
Forget Password POST https://food-app-api-demo.onrender.com/api/users/forget-password raw JSON email
Reset Password POST https://food-app-api-demo.onrender.com/api/users/reset-password raw JSON email, newPassword, otp

Foods API

Request Method URL Body Type Arguments
Get food GET https://food-app-api-demo.onrender.com/api/foods/:id N/A N/A
Get foods GET https://food-app-api-demo.onrender.com/api/foods/ N/A N/A
Get foods (lazy loading) POST https://food-app-api-demo.onrender.com/api/foods/layzy raw JSON page, limit
Create food POST https://food-app-api-demo.onrender.com/api/foods/ form-data image (file), title, price, description
Delete food DELETE https://food-app-api-demo.onrender.com/api/foods/:id N/A N/A
Search foods POST https://food-app-api-demo.onrender.com/api/foods/search raw JSON title

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published