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 Mar 25, 2020 · 0 comments
Open

Backend Routes #5

Mu7ammadAbed opened this issue Mar 25, 2020 · 0 comments

Comments

@Mu7ammadAbed
Copy link
Member

Mu7ammadAbed commented Mar 25, 2020

User Routes

Route Method Description Status
/cohorts GET All Cohorts data 👍
/alumni GET Alumni data for all cohorts 👍
/projects?type= GET Internal Projects data for all cohorts 👍
/cohorts/:cohortId GET Specific Cohort data 👍
/cohorts/:cohortId/alumni GET Alumni data for specific cohorts 👍
/cohorts/:cohortId/projects?type= GET Projects data for specific cohorts 👍
/alumni/:studentId GET Specific student data 👍
/alumni/:projectId GET Project students 👍
/projects/:projectId GET Specific project data 👍
/alumni/:studentId/projects GET Alumnus projects data 👍

Admin Routes

Route Method Description Status
/login POST Verify login and give token 👍
/logout GET Deletes the token and logs the user out 👍
/stats GET Dashboard stats 👍
/cohorts POST Add new cohort 👍
/alumni POST Add new student data 👍
/projects POST Add new Project data for specific cohort 👍
/cohorts/:cohortId PUT Edit cohort data 👍
/alumni/:id PUT Edit student data 👍
/projects/:projectId PUT Edit specific Project data 👍
/cohorts/:cohortId DELETE Delete cohort 👍
/alumni/:id DELETE Delete student data 👍
/projects/:projectId DELETE Delete specific Project data 👍
@rehabas rehabas mentioned this issue Mar 26, 2020
3 tasks
@Mu7ammadAbed Mu7ammadAbed mentioned this issue Mar 26, 2020
3 tasks
@Mu7ammadAbed Mu7ammadAbed mentioned this issue Mar 26, 2020
2 tasks
@rehabas rehabas mentioned this issue Mar 26, 2020
5 tasks
@rehabas rehabas mentioned this issue Mar 26, 2020
5 tasks
@Mu7ammadAbed Mu7ammadAbed mentioned this issue Mar 26, 2020
3 tasks
@rehabas rehabas mentioned this issue Mar 26, 2020
3 tasks
@MohammedAlghazali MohammedAlghazali pinned this issue Mar 29, 2020
This was referenced Mar 31, 2020
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