Managing Service Logic with FeathersJS Hooks
Learn how to use FeathersJS hooks to decouple business logic from data access, keeping your services clean and your application scalable.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use FeathersJS hooks to decouple business logic from data access, keeping your services clean and your application scalable.
Stop duplicating authentication and validation logic in your Express routes. Learn how to implement custom middleware to handle cross‑cutting concerns and keep your handlers lean.
Stop chasing .env files. Learn how Kraken.js uses a hierarchical configuration system to merge default and environment-specific settings during the boot sequence.
Backend services that launch unstructured coroutines leak threads and lose cancellation signals. This architecture note covers how to bind async work to request scopes, separate blocking I/O from CPU work, and verify the boundaries with practical checks.
Learn how to safely use SurrealDB’s LIVE queries in a backend service: requirements, minimal server/backend design, trust boundaries, operational checks, failure modes, and when to redesign.
A concise architecture note that outlines requirements, design, trust boundaries, operational checks, and failure modes for adopting Prisma Client in a TypeScript backend.
Learn how to use Scope.REQUEST in NestJS to handle per-request state like tenant IDs and auth contexts without leaking data between users.
Learn how to architect an Express.js middleware pipeline to separate cross-cutting concerns from business logic, establish trust boundaries, and avoid common pitfalls like hanging requests.
Appwrite's database pagination enforces a 100-document page limit with offset-based navigation. This article covers the architecture behind this constraint, when offset pagination fails, and how to implement cursor-based alternatives using indexed fields for deep paging scenarios.