How m10rten/suite works
Main Components
a. Package Layer:
• Node Packages (grouped by functionality)
• Data Validation (@mvdlei/tzod, @mvdlei/zod-query)
• Web Utilities (@mvdlei/web, @mvdlei/edge)
• React Hooks (@mvdlei/hooks)
• Infrastructure (@mvdlei/env, @mvdlei/log)
• Security (@mvdlei/key)
• Error Handling (@mvdlei/iglo)
• Feature Management (@mvdlei/pg-toggle)
b. Applications Layer:
• App (Next.js)
• API Service
• Link Service
• Internal Templates
c. Services Layer:
• gRPC Services
• Reyn Event System
• Database Services (PostgreSQL)
Relationships to Highlight
• Package Dependencies:
• Shared utilities and types
• Application Dependencies:
• Which applications consume which packages
• External service integrations
┌─────────────────────────────────────────────────────────────┐
• Applications Layer │
• ┬───────────────┬──────────────┬─────────────┤
• Showcase App │ Link App │ API App │ Internal │
• (Next.js) │ (Next.js) │ (Vercel) │ Templates │
• ┬───────┴───────┬───────┴──────┬───────┴─────────────┘
┌───────▼───────────────▼──────────────▼────────────────────┐
• Package Layer │
• ┬─────────────┬────────────┬────────────────┤
• Web Utilities│ React │ Data │ Infrastructure│
• (@mvdlei/web)│ Hooks │ Validation │ & Utils │
• ┬───────┴─────────────┴────────────┴────────┬───────┘
┌──────▼───────────────────────────────────────────▼───────┐
• Services Layer │
• ┬──────────────────┬────────────────────┬─┤
• gRPC Services │ Reyn Events │ PostgreSQL DB │ │
• ┴──────────────────┴────────────────────┴─┘
Additional Elements
• Version information for major components
• External dependencies and integrations
• Deployment environments (Vercel, etc.)
Technical Details
• Database connections (PostgreSQL)
• Authentication flows
• API endpoints and routes
• Build and deployment pipelines
• Testing infrastructure