Commit Graph

2 Commits

Author SHA1 Message Date
Backend Agent 461eacfdbd feat: add facet filters, filter values endpoint, ingredient search, extended sorting
- Extend GET /api/v1/supplements with multi-value filters: category, brand, form,
  ingredient (composition search), country, price_range, min_rating
- Add sort parameter (name, rating, price, created_at, relevance) with direction (asc/desc)
- Add GET /api/v1/supplements/filters returning available filter values with counts
- Add GET /api/v1/ingredients/{name}/supplements for ingredient-based lookup
- Implement JPA Specifications for dynamic query composition
- Add SpringDoc OpenAPI annotations for all new parameters and endpoints
- Add unit tests: 36 tests, 0 failures
2026-04-10 19:33:51 +00:00
Backend Agent 506d1ba761 feat: initial nutri-api — Spring Boot REST API for supplement catalog
- Supplement and Ingredient entities with UUID primary keys
- CRUD REST API with pagination, filtering, and full-text search
- Liquibase migrations with PostgreSQL tsvector full-text index
- SpringDoc OpenAPI documentation
- RFC 7807 Problem Details error handling
- Unit tests for service, mapper, and controller layers (23 tests)
- Dockerfile (multi-stage) and docker-compose.yaml for local dev
- Application profiles: default, dev, prod
2026-04-10 17:03:09 +00:00