Code-Society-Lab / Code-Society-Lab/matrix-directory

Add server-side search, filtering, sorting and pagination

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
backend enhancement good first issue
Dominant language
Python
Stars
5
Forks
0
Avg merge
3h
Merged PRs (30d)
28

Description

### Description
Current filtering is suitable while the directory is small, but downloading every project and filtering in Vue won't scale indefinitely.

### Proposed API

```bash
GET /api/projects?q=moderation
&category=Utility
&sort=recent
&page=1
&page_size=24
```

### Acceptance criteria
- query search
- category filtering
- pagination
- deterministic sorting
- total result count
- frontend URL reflects filters

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing project directory endpoint and the Vue filtering implementation, then trace how project results are currently loaded. Add the documented query, category, sort, pagination, and total-count behavior, and ensure the frontend URL reflects those filters; done means all listed acceptance criteria work together.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.