Stratus POS is built on Laravel 12, which follows the Model-View-Controller (MVC) pattern. Incoming HTTP requests are routed to controllers, which interact with Eloquent models and return Blade views.
Form request classes in app/Http/Requests/ encapsulate validation rules and authorisation logic, keeping controllers thin.Example: ProfileUpdateRequest validates the name and email fields when a user updates their profile.
The frontend uses Tailwind CSS for styling and Vite for asset bundling.
Path
Contents
resources/css/app.css
Tailwind CSS entry point
resources/js/app.js
JavaScript entry point
vite.config.js
Vite configuration
public/build/
Compiled assets (generated, not committed)
During development, Vite runs a dev server with hot module replacement. For production, assets are compiled to public/build/ with cache-busting hashes.
Service providers in app/Providers/ bootstrap application services. The AppServiceProvider is the main extension point for binding interfaces, registering macros, and configuring packages.