Skip to content

Campaign listing, search, filter, and sort #22

Description

@ayshadogo

User Story:
As a visitor, I want to browse, search, filter, and sort campaigns via the API so that I can find causes I want to support.

Acceptance Criteria:

  • GET /campaigns: page, limit, category, status, search (Postgres full-text search across title/description/story, min 3 characters, relevance-ordered), sortBy (newest/mostFunded/endingSoon); excludes DRAFT/SUSPENDED
  • Response cached in Redis for 30s with all query params included in the cache key — test this specifically, since a partial key is a real bug that serves wrong results silently
  • GET /campaigns/categories: categories with live counts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions