backend-patterns
A reference skill from the ECC collection with server-side patterns for Express apps, Next.js API routes and other Node.js backends.
Was der Skill vermittelt
A reference skill from the ECC collection with server-side patterns for Express apps, Next.js API routes and other Node.js backends. It shows code for the repository, service and middleware layers, selecting only needed columns, avoiding repeated per-item queries, and wrapping several writes in one database function. Further sections cover a Redis cache layer and the cache-aside pattern, a central error handler, retries with exponential backoff, JWT checks and role-based permissions, a simple in-memory rate limiter and job queue, and structured JSON logging with request IDs. The examples use Supabase and Redis, and it reminds the reader to match the pattern to the size of the application.
Funktionen
- Structure backend code into repository, service and middleware layers
- Add Redis caching and cache invalidation
- Handle errors centrally and retry with backoff
- Check JWTs and enforce role-based permissions
Überblick
- Herausgeber
- affaan-m
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
Was enthalten ist
- agents/openai.yaml
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | In der Dokumentation nicht angegeben | |
| Herausgeber | affaan-m | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 9. Nov. 2026300.529 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Weitere Kopien dieses Skills (4)
Ihr Text weicht von diesem Skill ab. Es kann sich um angepasste Kopien oder ältere Versionen handeln.
- backend-patternsgongyijie85/dsh-ecc
- backend-patternsuserinner/skills
- backend-patternsmdnaimul22/human-skills
- backend-patternsronnasayd/aipp
Mehr von affaan-m
35 Skills
- brand-discovery (Skill)
- brand-voice (Skill)
- context-and-decisions (Skill)
- docs-governance (Skill)
- eval-harness (Skill)
- e2e-testing (Skill)
Quellen
- Skill-Datei (SKILL.md)github.com/affaan-m/ecc · Belegt: Lizenz, Enthält Skripte15. Nov. 2026
- GitHub-Repositorygithub.com/affaan-m/ecc · Belegt: Herausgeber, Aktivität, Lizenz10. Nov. 2026
- Skill-Datei (SKILL.md)github.com/affaan-m/ECC10. Nov. 2026
- Ordner im Repository (backend-patterns)github.com/affaan-m/ECC · Belegt: Enthält Skripte10. Nov. 2026