The clean foundation. Persistence, pagination, error handling, and Docker — wired up and ready to extend.
Use code FIRSTXPEOPLE for €15 off → €20
Tech stack
Generic typed repository covering all CRUD operations. Override any of the 7 lifecycle hooks (BeforeInsert, AfterGet, etc.) to inject cross-cutting behaviour without touching service logic.
Two pagination strategies included. Offset pagination for backoffice tables with page numbers. Cursor-based pagination (ID-driven) for feeds and public APIs — O(log n) regardless of collection size.
No exceptions for business errors. Every operation returns ErrorOr<T>, forcing explicit error handling at the call site. Global error handler maps errors to RFC 7807 ProblemDetails automatically.
Two endpoints out of the box: /health/live for liveness probes and /health/ready for readiness, including a MongoDB connectivity check. Compatible with Docker health probes.
All endpoints documented with XML comments. Swagger UI is fully functional in development. Request and response models carry descriptions, examples, and correct HTTP status codes.
One docker compose up --build starts the API and MongoDB together. The .env.example file documents every environment variable. No manual configuration required.
Pricing
Full source code, private docs, unlimited projects, entire team included.
or €20 with code FIRSTXPEOPLE
Secure checkout via Lemon Squeezy · Instant delivery
Need auth or cache too? See the full stack kit →