Architecture
System shape
Customa Cafe runs as a Laravel application monorepo with a Vue-powered admin interface and dedicated API channels for mobile clients.
Main layers
- Presentation layer: Blade + Vue for admin dashboard experiences.
- Application layer: controllers and services grouped by business domain.
- Data layer: Eloquent models, migrations, and relational schema.
- Integration layer: queue/notification workflows and external endpoints.
Important directories
app/Http/Controllers/for web/API entry points.app/Models/for domain data representation.routes/for route and middleware topology.database/migrations/for schema evolution.
Design note
Keep business decisions in service/use-case classes so controllers stay thin and testable.