How bayudc/warnetku works
Warnetku is a Laravel web application for internet-café operations. Operators sign in, then manage computers and rental prices, create and extend rental transactions, and review transaction history and income reports; owner-only capabilities cover operator and price administration. Requests enter through Laravel’s HTTP bootstrap and web routes, then reach feature controllers and Eloquent models. The README documents the major feature areas and PostgreSQL stack. Some feature controllers and views were not sampled, so those branches are represented from documentation and the tree, with unverified links dashed.
Main entry points: web.php Web routes · Models Domain models · views Blade screens · OperatorController.php Operator management
Components 17
Request handling
- HTTP entry
public/index.php - App bootstrap
bootstrap/app.php - HTTP kernel
app/Http/Kernel.php - Route setup
app/Providers/RouteServiceProvider.php - Web routes
routes/web.php
Operations
- Authentication
app/Http/Controllers/AuthController.php - Computer management
app/Http/Controllers/ComputerController.php - Operator management
app/Http/Controllers/OperatorController.php - Price management
app/Http/Controllers/PriceController.php - Rental transactions
app/Http/Controllers/TransactionController.php - Financial reports
app/Http/Controllers/ReportController.php - Operator profile
app/Http/Controllers/ProfileController.php
Domain and policy
- Domain models
app/Models - Role policies
app/Providers/AuthServiceProvider.php
Web interface
- Blade screens
resources/views
Other components
- Operator
- PostgreSQL
Connections 29
- Operator → HTTP entry: sends requests
- HTTP entry → App bootstrap: loads app
public/index.php - App bootstrap → HTTP kernel: binds kernel
bootstrap/app.php - HTTP kernel → Route setup: uses routing
- Route setup → Web routes: loads routes
app/Providers/RouteServiceProvider.php - Web routes → Authentication: dispatches
routes/web.php - Web routes → Computer management: dispatches
routes/web.php - Web routes → Operator management: dispatches
routes/web.php - Web routes → Price management: dispatches
routes/web.php - Web routes → Rental transactions: dispatches
routes/web.php - Web routes → Financial reports: dispatches
routes/web.php - Web routes → Operator profile: dispatches
routes/web.php - Authentication → Blade screens: renders
- Computer management → Domain models: reads and writes
app/Http/Controllers/ComputerController.php - Computer management → Blade screens: renders
- Operator management → Domain models: reads and writes
app/Http/Controllers/OperatorController.php - Operator management → Role policies: checks roles
app/Http/Controllers/OperatorController.php - Operator management → Blade screens: renders
- Price management → Domain models: reads and writes
app/Http/Controllers/PriceController.php - Price management → Role policies: checks roles
app/Http/Controllers/PriceController.php - Price management → Blade screens: renders
- Rental transactions → Domain models: reads and writes
app/Http/Controllers/TransactionController.php - Rental transactions → Role policies: checks ownership
app/Http/Controllers/TransactionController.php - Rental transactions → Blade screens: renders
app/Http/Controllers/TransactionController.php - Financial reports → Domain models: reads transactions
app/Http/Controllers/ReportController.php - Financial reports → Blade screens: renders
- Operator profile → Domain models: updates profile
- Operator profile → Blade screens: renders
- Domain models → PostgreSQL: persists data