Description:
This issue involves implementing an API to get all my mentee applications. The endpoint should allow clients to make a GET request to {{baseUrl}}/api/me/applications?type=mentee.
Tasks:
Create a controller for the /controllers/profile endpoint in the backend (create the route profile if not created).
Parse and validate the request body to ensure it matches the expected format.
Implement appropriate error handling and response status codes for different scenarios (e.g., validation errors, database errors).
Write unit tests to validate the functionality and correctness of the endpoint.
Description: This issue involves implementing an API to get all my mentee applications. The endpoint should allow clients to make a GET request to
{{baseUrl}}/api/me/applications?type=mentee
.Tasks:
/controllers/profile
endpoint in the backend (create the route profile if not created).API documentation: https://documenter.getpostman.com/view/27421496/2s93m1a4ac#8744a3ee-970f-489a-853d-8b23fdee8de3
ER diagram: https://drive.google.com/file/d/11KMgdNu2mSAm0Ner8UsSPQpZJS8QNqYc/view
Acceptance Criteria:
/controllers/profile
is implemented and accessible via a GET request.Additional Information: No
Related Dependencies or References: No