cyberneticlibrary

Build frontend with Vite and Leaflet

frontend-engineersubagentsetup L33
SageHourihan/clermont
What it does

Develop backend services, APIs, and data layers in Node.js/TypeScript

Best for

Building production Node.js backends with proper query optimization, transaction handling, authorization checks, and comprehensive error responses that match frontend API contracts.

Inputs
  • · feature specification
  • · schema design
  • · API contract
Outputs
  • · src/routes/[feature].ts
  • · src/models/[Entity].ts
  • · database migrations
  • · API tests
Requires
  • · Express 5
  • · Node.js 20+
  • · database (PG/SQLite)
  • · ORM (Prisma/TypeORM)
Preconditions
  • · backend project scaffolded
  • · database configured
  • · API contract defined
Failure modes
  • · N+1 query if ORM joins not optimized
  • · race condition if transaction not used
  • · data leakage if output filter missing
Trust signals
  • · SQL explain plan verification (no N+1)
  • · transaction boundary clarity
  • · input validation + sanitization
  • · error response contracts
  • · integration test coverage