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 #5

Open
Mu7ammadAbed opened this issue Jan 31, 2021 · 0 comments
Open

Backend Routes #5

Mu7ammadAbed opened this issue Jan 31, 2021 · 0 comments

Comments

@Mu7ammadAbed
Copy link
Member

Mu7ammadAbed commented Jan 31, 2021

User Routes

Route Method Description Status
/kindergarten GET get All kindergarten data 👍
/kindergarten POST add new kindergarten
/kindergarten/:id GET get kindergaten profile details
/kindergarten/:id/comments GET get all comments of this kindergarten
/kindergarten/:id/comments POST add new comment to this kindergarten
/signup POST add a new user
/login POST login for the user
/logout GET logout for the user
/search?q&location&minPrice&maxPrice&rating GET return a list of kindergartens according to name,location,price and rating

Admin Routes

Route Method Description Status
/login POST Verify login and give token 👍
/logout GET Deletes the token and logs the user out 👍
/kindergarten GET get All kindergarten data
/kindergarten/:id PUT update or edit kindergarten profile details
/kindergarten/:id DELETE delete this kindergarten
/users GET get all users
/users/:userId GET get data for a specific user by id
/users/:userId PUT update user data
/comments/:commentId DELETE delete a specific comment by comment id
@alaa-sahloub alaa-sahloub mentioned this issue Jan 31, 2021
3 tasks
This was referenced Jan 31, 2021
This was referenced Jan 31, 2021
This was referenced Feb 1, 2021
@Israa91 Israa91 mentioned this issue Feb 1, 2021
3 tasks
@Israa91 Israa91 mentioned this issue Feb 1, 2021
3 tasks
This was referenced Feb 1, 2021
@Israa91 Israa91 mentioned this issue Feb 1, 2021
4 tasks
@Mu7ammadAbed Mu7ammadAbed pinned this issue Feb 1, 2021
@Israa91 Israa91 mentioned this issue Feb 9, 2021
4 tasks
@Osama-you Osama-you mentioned this issue Feb 11, 2021
3 tasks
Alaalser added a commit that referenced this issue Feb 15, 2021
Alaalser added a commit that referenced this issue Feb 15, 2021
Related #5
Alaalser added a commit that referenced this issue Feb 15, 2021
Alaalser added a commit that referenced this issue Feb 15, 2021
Related #5
Alaalser added a commit that referenced this issue Feb 15, 2021
Alaalser added a commit that referenced this issue Feb 15, 2021
Alaalser added a commit that referenced this issue Feb 15, 2021
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

1 participant