A simple endpoint to get the user profile. This PR mainly for the demo today. Other endpoints will be added later (return user role with the profile request, Add section/task, and get Sections and tasks, assign users to group (We assume that groups are made before hand by the DB manager as well as the users -for now- since the main point of this project is "management during the semester", and we need to make that as a priority goal.)).
To activate the /users/get/profile endpoint, please login (Don't forget to edit the mode and credentials in your fetch request so cookies can be send over to our backend).
A simple endpoint to get the user profile. This PR mainly for the demo today. Other endpoints will be added later (return user role with the profile request, Add section/task, and get Sections and tasks, assign users to group (We assume that groups are made before hand by the DB manager as well as the users -for now- since the main point of this project is "management during the semester", and we need to make that as a priority goal.)).
To activate the
/users/get/profile
endpoint, please login (Don't forget to edit themode
andcredentials
in your fetch request so cookies can be send over to our backend).