Systers, an AnitaB.org community
Create user dashboard endpoint [Mentorship - Backend]
Description:
Create endpoint which gathers all information at ones: pending requests for any relation send invitations for any relations and tasks
Prerequisite:
- GitHub account
- Setup and run the project on your local development environment
Action Items:
- Clone the project project onto your local development environment
- Create a branch to make your changes
- Create new endpoint which returns object containing:
- list of received invitation as a mentee (separate list for each state: PENDING, ACCEPTED, REJECTED, CANCELLED, COMPLETED)
- list of send invitation as a mentee (separate list for each state)
- list of received invitation as a mentor (separate list for each state)
- list of send invitation as a mentor (separate list for each state)
- separate lists of done and todo tasks All list have to be ordered by creation date. Relation lists need to contain the user's display name, profile image URL and creation date. Tasks lists need to contain all tasks details.
- Commit your change through the interface using our Commit message Style Guide.
- Submit a Pull Request, targeting
gci-dev
branch, following the template provided in the description.
Resources:
- If you need help or get lost, post a response to our questions topic in our #gci stream.
- Pull request template.
- Commit message Style Guide.
- How to fork, clone and setup remotes the project into your account wiki page.
Work Submission:
- Submit a link to Pull Request (PR) with the changes.
- Screenshot of this API endpoint in action.
Task tags
Students who completed this task
_daksha_, asawesome07, BartekPacia