Technologien - e-Learning-by-SSE/nm-self-learning GitHub Wiki

typescript next.js tailwind

Zod

Prisma

Things to Remember

  1. Use Transactions when ever Possible

TRPC

Contributors must not perform any direct database (DB) calls within tRPC procedures or middleware. All data‐access logic should be consolidated into dedicated service layers or utility functions. This rule exists to maintain clear separation of concerns, minimize redundant database round-trips, and ensure predictable performance characteristics.

Things to Remember

  1. Avoid Redundant Queries
  2. Centralize Data-Access Logic
  3. No Database Calls in Middleware
  4. No Database Calls Directly in Procedures