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:

Work Submission:

  • Submit a link to Pull Request (PR) with the changes.
  • Screenshot of this API endpoint in action.

Task tags

  • python
  • flask
  • rest api
  • backend

Students who completed this task

_daksha_, asawesome07, BartekPacia

Task type

  • code Code
close

2019