How sunblob/vanban works
Main Components
A. Frontend Layer (Vue.js Application):
• Present as a single-page application (SPA) structure
• Modules:
• Authentication (sign-in/sign-up)
• Board Management
• Card/List Management
• UI Components System
• State Management (Pinia stores based on the stores/ directory)
B. Backend Layer (Hono Framework):
• API Server structure with modular architecture
• Core modules:
• Auth Service
• Board Service
• Card Service
• Service
• Logs Service
• Middleware layer (especially auth middleware)
C. Database Layer:
• Prisma ORM
• Underlying database (likely PostgreSQL based on Prisma setup)
[Client Tier]
• ↓↑
[Server Tier]
• ↓↑
[Data Tier]
Detailed Component Breakdown
Frontend (Top Tier):
• Router (frontend/src/router)
• Store Modules (frontend/src/stores)
• View Components (frontend/src/views)
• Reusable UI Components (frontend/src/components)
• HTTP Client (frontend/src/http)
API Layer (Middle Tier):
• Modules:
• Authentication Module
• Board Module
• Card Module
• Module
• Logs Module
• Middleware layer
• REST API endpoints
Data Layer (Bottom Tier):
• Prisma ORM layer
• Database with main entities:
• Users
• Boards
• Lists
• Cards
• Logs
Connection and Flow Indicators
• Green: Authentication flows
• Blue: Data operations
• Orange: Event/WebSocket communications (if implemented)
Additional Elements
• Technology versions in small notes
• Security layer indicators (auth middleware, JWT)
• External service integrations if any