The project is an API for managing mentors and students within an educational or training environment. The API facilitates creating, retrieving, and assigning mentors and students. It provides endpoints to create new mentors and students, retrieve all or specific mentors and students, and assign students to mentor and vice versa
- Create mentor: Creation of mentors with specific details
- Assign students to mentor: Assigning one or more students to mentor who didn't have a mentor.
- Retrieve mentors: Retrieving all the mentors with students details.
- Create student: Creation of students with specific details
- Assign mentor to students: Assigning or Changing the mentor for student.
- Retrieve students: Retrieving all the students with mentor details.
BASE_URL = https://assign-mentor-ldwh.onrender.com
POST /api/v1/mentors/create-mentor
Parameter | Type | Description |
---|---|---|
first_name |
string |
Required |
last_name |
string |
Required |
email |
string |
Required |
phone_number |
string |
Required |
mentor_at |
string |
Required |
GET /api/v1/mentors/all-mentors
GET /api/v1/mentors/get-mentor
PUT /api/v1/mentors/assign-students
Parameter | Type | Description |
---|---|---|
mentor_id |
ObjectId |
Required |
student_id |
[ObjectId] |
Required |
POST /api/v1/mentors/create-student
Parameter | Type | Description |
---|---|---|
first_name |
string |
Required |
last_name |
string |
Required |
email |
string |
Required |
phone_number |
string |
Required |
course |
string |
Required |
GET /api/v1/students/all-students
GET /api/v1/students/get-student
PUT /api/v1/mentors/assign-students
Parameter | Type | Description |
---|---|---|
mentor_id |
ObjectId |
Required |
student_id |
ObjectId |
Required |