Loading
Topic
Small coding exercises that mirror API helpers, validation, paging, filtering, and safe logging.
Practice items tagged with API Helper Coding.
Implements a safe in-memory paging helper with metadata and boundary handling.
Implements bounded filtering and deterministic keyset pagination without accepting arbitrary query expressions.
Creates a resource through an explicit request DTO and returns typed 201, 409, and validation outcomes.
Implements invoice total calculation with quantity, unit price, percentage discount, and rounding.
Implements a small in-memory fixed-window rate limiter with per-key counters.
Parses a simple filter expression into a validated dictionary without accepting arbitrary keys.