How kalaigram/aurevant-pkk works
Aurevant PKK is a multi-company, multi-branch operations platform. The visible workflow is a user working in the Vue client, which authenticates and presents company-scoped features backed by a Laravel API. The backend exposes operational domains spanning sales, stock, purchasing, finance, service orders, accounting, and workforce management. The README provides little architectural detail, so domain coverage uses exact directories from the tree; only sampled controller, routing, and persistence relationships are shown as verified.
Main entry points: V1 API controllers · App.vue Vue application · api.php API routes · auth.ts Authentication state
Components 22
Web client
- Vue application
client/src/App.vue - Authentication state
client/src/stores/auth.ts - API client
client/src/lib/api.ts - Company features
client/src/views
API and application
- API routes
server/routes/api.php - API controllers
server/app/Http/Controllers/Api/V1 - Company access
server/app/Http/Middleware - Eloquent repositories
server/app/Infrastructure/Persistence/Eloquent
Commerce operations
- Sales and service
server/app/Application/Sale - Catalog and stock
server/app/Application/Stock - Purchasing
server/app/Application/Purchase - Company and branches
server/app/Application/Branch
Finance and reporting
- Finance operations
server/app/Application/Finance - Accounting ledger
server/app/Application/Ledger - Reports and dashboard
server/app/Application/Report - Plans and billing
server/app/Application/Billing
Workforce management
- Payroll
server/app/Application/Payroll - Attendance and leave
server/app/Application/Attendance - Employee scheduling
server/app/Application/Schedule - Roles and assignments
server/app/Application/Access - Notifications and approvals
server/app/Application/Notify
Other components
- Company user
Connections 24
- Company user → Vue application: uses
client/src/App.vue - Vue application → Authentication state: reads session
client/src/App.vue - Authentication state → API client: calls
client/src/stores/auth.ts - Vue application → Company features: renders routes
client/src/App.vue - Company features → API client: requests data
- API routes → API controllers: dispatches
server/routes/api.php - API routes → Company access: applies middleware
- API controllers → Payroll: invokes
server/app/Http/Controllers/Api/V1/PayrollController.php - API controllers → Purchasing: invokes
server/app/Http/Controllers/Api/V1/PurchaseOrderController.php - API controllers → Employee scheduling: invokes
server/app/Http/Controllers/Api/V1/ScheduleController.php - API controllers → Finance operations: invokes
- API controllers → Sales and service: invokes
- API controllers → Catalog and stock: invokes
- API controllers → Company and branches: invokes
- API controllers → Accounting ledger: invokes
- API controllers → Reports and dashboard: invokes
- API controllers → Plans and billing: invokes
- API controllers → Attendance and leave: invokes
- API controllers → Roles and assignments: invokes
- API controllers → Notifications and approvals: invokes
- Purchasing → Sales and service: creates sale
- Finance operations → Accounting ledger: posts entries
server/app/Application/Finance/UseCases/ManageReceivables.php - Employee scheduling → Eloquent repositories: uses repository
- Payroll → Eloquent repositories: stores payroll