infrastructure
Next.js Multi-Tenant SaaS Starter
Full multi-tenant architecture. Ship in days, not months.
Production-ready Next.js 15 multi-tenant SaaS with Supabase, Prisma, Row-Level Security, per-tenant branding, and admin dashboard. The foundation that took 6 months of sprints to build — yours in one purchase.
- ✓Tenant isolation via Postgres RLS
- ✓Host-based and slug-based tenant routing
- ✓Supabase auth with per-tenant sessions
- ✓Admin dashboard with health monitoring
- ✓Per-tenant branding and custom domains
finance
Settlement & Ledger Starter
Double-entry ledger, escrow, and audit trail. Production-ready.
Immutable double-entry ledger with escrow workflows, batch settlement, audit trail, and reconciliation. Prisma + Postgres. Drop into any Next.js app.
- ✓Double-entry LedgerEntry model
- ✓Escrow lock / release / dispute flow
- ✓Batch settlement with atomic transactions
- ✓Redacted audit logger
- ✓SOC2-adjacent compliance helpers
relayinfrastructure
Zero-Persistence Relay Starter
WebSocket relay that never touches disk. Stateless by design.
The complete relay service from apps/relay/ — standalone, documented, and ready to deploy. Includes quota manager, room manager, API key rotation, and metrics server.
- ✓In-memory quota enforcement by tier
- ✓Tenant-isolated room namespacing
- ✓HMAC API key issuance and rotation
- ✓Metrics HTTP server (internal)
- ✓ESLint rules enforcing zero-persistence
relayinfrastructure
WebRTC Signaling Starter
Peer-to-peer signaling without persisting SDP bodies.
Complete WebRTC signaling server with TURN credential brokering. Privacy-first — SDP and ICE candidates are relayed, never stored. TypeScript strict, Node.js.
- ✓WebRTC offer/answer signaling flow
- ✓TURN credential issuance
- ✓Room-based peer matching
- ✓Zero SDP persistence guarantee
- ✓Client library with reconnect logic
aiinfrastructure
AI-Native Backend Starter
Structured AI output, tool-use orchestration, vector search.
Production AI backend patterns: structured Anthropic output, LangChain orchestration, ChromaDB semantic search, and tenant-scoped vector collections. Next.js 15 App Router.
- ✓Structured JSON output from Claude
- ✓Tool-use orchestration with LangChain
- ✓Per-tenant ChromaDB collections
- ✓Semantic search with embedding pipeline
- ✓Anthropic + Supabase auth integration
monitoring
Operational War-Room Dashboard
Admin forensics and monitoring. Connects to any Supabase backend.
Real-time operations dashboard with system health monitoring, SSE notifications, audit log viewer, and revenue charts. Wires to any Supabase + Prisma backend.
- ✓SSE-powered live notification stream
- ✓System health with external service checks
- ✓Audit log viewer with redaction
- ✓Revenue and usage charts (Recharts)
- ✓Admin action audit trail
finance
Crypto Portfolio Engine Starter
Allocation engine, drift detection, composite scoring.
The portfolio intelligence engine from Pemabu — allocation targets, drift detection, composite scoring, and rebalancing recommendations. Multi-asset class support including crypto.
- ✓Allocation target engine
- ✓Portfolio drift detection
- ✓Composite scoring algorithm
- ✓Multi-asset class support
- ✓Rebalancing recommendation engine