How renatomassaro/feebdb works
Main Components (Top Level)
a) Core System Components:
• Database Manager (Central Coordinator)
• Repository Manager
• Migration System
• Query System
• Type System
b) External Interface:
• Mix Tasks (CLI Interface)
• File System Adapter
Database Manager Layer
• To Repository Manager
• Local State Management
• Connection to SQLite instances
Repository Management
• Registry
• Supervisor
• Repo Entry Handler
• Dynamic creation of database instances
Data Flow Layer
• Schema Management
• Query Processing
• Type System
• Migration System
Use these specific visualization guidelines:
Actor Model Integration
• Supervisor hierarchy
• Demonstrate message passing between components
Plugin System
• Custom types
• Query builders
• Migration handlers
State Management
• Local state handling
• Repository registry
Specific Implementation Details:
Feeb.DB
• Application
• Boot
• LocalState
• Migrator
• Query
• Dynamic
• Binding
• Repo
• Manager
• Schema
Multi-tenant nature
• How each client gets its own SQLite database
• Isolation between instances
Lifecycle
• Database creation
• Migration application
• Query execution
• Type conversion
Test infrastructure
• How each test gets its own database instance
• Demonstrate the clean slate approach
Modular nature
• Type system extensibility
• Query building flexibility
• Migration management