Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend Routes #26

Open
khamis-hesham opened this issue Jan 31, 2021 · 0 comments
Open

Backend Routes #26

khamis-hesham opened this issue Jan 31, 2021 · 0 comments

Comments

@khamis-hesham
Copy link
Collaborator

khamis-hesham commented Jan 31, 2021

User Routes :

Route Method Description Status
/healthNews GET get healthy news 👍
/:userId/profile GET get profile for certain user 👍
/Food GET get all Food 👍
/category/:categoryId/food/:foodId POST add the select Food 👍
/user/:id/Food/:id PATCH edit the select Food 👍
/user/:id/Food/:id DELETE delete the select Food 👍
/food/:categoryId GET selection a meal-type 👍
/user/:id /calories/daily GET get the daily calories for the specified user 👍
/nutrition GET get daily nutrition for certain user 👍
user/login POST verify login and give token 👍
user/signup POST creating a new account for the user 👍
user/logout GET delete the user cookie from the session 👍
/exercise GET get all exercise 👍
/exercise/:id GET get the select exercise 👍
/exercise/:id POST add the select exercise 👍

#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants