anitab-org / anitab-org/mentorship-backend

Add to List Users API the ability to filter users by location

Open
#760 15 comments 0 reactions 0 assignees View on GitHub
Category: Coding Status: On Hold
Dominant language
Python
Stars
200
Forks
449
PR merge metrics
No merged PRs in 30d

Description

## Description
As a member of the app,
I need be able to filter other members by their location,
so that I can choose the member I want to create a mentorship relation with.

APIs used to fetch Users, don't have an option to filter users by `location` attribute.

#### Note: This issue is labeled for Open Source Hack.
I can assign this issue to you on September 1st as the official opening date for Open Source Hack. Please free to check out other issues in the meantime. Program website: https://anitab-org.github.io/events/open-source-hack/

## Acceptance Criteria
### Update [Required]
- [ ] Add a query parameter support to `GET /users` and `GET /users/verified`, to filter users by `location` attribute.
- [ ] Update Swagger UI documentation for this API.
- [ ] Write at least one test to prove your new feature is working.

## Definition of Done
- [ ] All of the required items are completed.
- [ ] Approval by 1 mentor.

## Estimation
[4] hours

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.