add-query-filter

Community

Extend search with custom query filters.

Authormadooei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Add custom query parameter filters to entity endpoints to extend search and filtering capabilities beyond base pagination, enabling more precise data retrieval for complex queries.

Core Features & Use Cases

  • Define and apply entity-specific filters in query params for schema validation and repository queries.
  • Extend both mock repositories and MongoDB repositories to support new filter criteria.
  • Use case: Combine filters such as status, date, and createdBy to narrow results across large datasets.

Quick Start

Update the entity schema to include the new filter and implement corresponding filtering logic in both MockDB and MongoDB repositories, then add tests to validate the new behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-query-filter
Download link: https://github.com/madooei/backend-template/archive/main.zip#add-query-filter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.