How blumilksoftware/toby works
Main System Components
a) Frontend Layer:
• Vue.js based SPA (evident from /resources/js structure)
• Inertia.js for frontend-backend communication
• Key frontend modules:
• Dashboard
• Vacation Management
• Benefits Management
• Equipment Management
• User Management
b) Backend Layer:
• Laravel PHP Framework
• Key backend modules:
• Authentication & Authorization
• API Controllers
• Domain Services
• Action Classes
• State Management
• Notification System
c) External Integrations:
• Slack Integration (extensive /app/Slack directory)
• Google Calendar Integration
• Email Services
d) Storage:
• PostgreSQL Database
• File Storage (for resumes, avatars)
Architectural Patterns to Highlight
a) Domain-Driven Design elements:
• Actions pattern (/app/Actions)
• Domain Services (/app/Domain)
• State Pattern for requests (/app/States)
b) Service Layer:
• Clear separation of concerns
• Dedicated services for different business functions
Key Workflows
Flow for core features:
• Vacation Request Processing
• Overtime Request Management
• Benefits Management
• Daily Summary Generation
• Notification Distribution
┌─────────────────────────────────────────────────────┐
• Client Layer │
• (Vue.js Components, Inertia, Frontend Resources) │
• ┤
• API Layer │
• (Controllers, Resources, Requests) │
• ┤
• Domain Layer │
• (Actions, Domain Services, State Management) │
• ┤
• Integration Layer │
• (Slack, Google Calendar, Email Services) │
• ┤
• Persistence Layer │
• (Database, File Storage) │
• ┘
Deployment Architecture
Show:
• Docker containerization
• Development vs Production environments
• Database backup system
• Queue worker processes