How shashankgupta10/nymbus works
High-Level Components
a) Frontend Layer:
• Sub-components:
• UI Components (from src/)
• Configuration Management (config.ts)
• Build System (Vite)
b) Backend Layer (Hexagonal Architecture):
1. External Layer (Adapters):
• HTTP Handlers
• Repository Implementations (Postgres)
2. Application Layer (Ports):
• Repository Interfaces
• Service Interfaces
3. Core Domain Layer:
• Project Domain Model
• Business Logic (Services)
c) Infrastructure:
• Database (PostgreSQL)
• Deployment Services (indicated by deploy.go)
Component Relationships
a) External Communications:
• Frontend → Backend (HTTP/REST)
• Backend → Database (Postgres adapter)
b) Internal Backend Flow:
• Handlers → Service Interfaces → Core Services
• Core Services → Repository Interfaces → Repository Implementations
Detailed Component Breakdown
Frontend Section:
[Frontend Container]
• UI Components (App.tsx, etc.)
• Configuration (config.ts)
• Build Tools (Vite, TypeScript, Tailwind)
Backend Section (Hexagonal Architecture):
[Outer Layer - Adapters]
• HTTP Handlers
• Postgres Repository
[Middle Layer - Ports]
• Repository Interfaces
• Service Interfaces
[Core Layer]
• Project Domain
• Deploy Service
Additional Elements
• Configuration Management:
• Config.go and its relationship to components
• Environment-specific configurations
• Utility Services:
• Logger
• Helpers
• Build & Development Tools:
• Air (Go hot-reload)
• Docker support