Closed janithlahirukariyawasam closed 1 year ago
Description: This issue involves implementing an API to get mentors by id. The endpoint should allow clients to make a GET request to {{baseUrl}}/api/mentee/mentors/{{mentorId}}.
{{baseUrl}}/api/mentee/mentors/{{mentorId}}
{ "mentorId": 5, "category": "Computer Science", "profile": { "contact_email": "mandy@gmail.com", "first_name": "Mandy", "last_name": "Fernando", "image_url": "https://www.linkedin.com/mandy", "linkedin_url": "https://www.linkedin.com/mandy" }, "mentees": [] }
Tasks:
/controllers/mentor
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:
Additional Information: No
Related Dependencies or References: No
Description: This issue involves implementing an API to get mentors by id. The endpoint should allow clients to make a GET request to
{{baseUrl}}/api/mentee/mentors/{{mentorId}}
.Tasks:
/controllers/mentor
endpoint in the backend (create the route mentor 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/mentor
is implemented and accessible via a GET request.Additional Information: No
Related Dependencies or References: No