How ahnafrm-src/sibersih works
SI-BERSIH is documented as a school-cleanliness reporting and accountability web app. The README describes public reports being assigned to a responsible class using room-and-time schedules, followed by admin review and weekly scoring. The checked-in tree and sampled source are much smaller than that description: several documented feature modules are absent, and the sampled auth controller is empty. Feature-stage links below therefore reflect README-documented behavior, not verified implementation; runtime boot links are limited to sampled source.
Main entry points: migrations Cleanliness reports · Controllers Class assignment · views Monitoring dashboard · index.php HTTP entry point
Components 18
Reporting workflow
- Submit report
app/Http/Controllers - Class assignment
app/Http/Controllers
Administration
- Monitoring dashboard
resources/views - Review reports
app/Http/Controllers - Manage schedules
app/Http/Controllers - Weekly score recap
app/Http/Controllers
Domain data
- Lesson schedules
database/migrations - Cleanliness reports
database/migrations - Weekly score snapshots
database/migrations - User model
app/Models/User.php - User factory
database/factories/UserFactory.php
Laravel runtime
- HTTP entry point
public/index.php - Application bootstrap
bootstrap/app.php - Auth controller
app/Http/Controllers/Auth/AuthControler.php - App service provider
app/Providers/AppServiceProvider.php - JS bootstrap
resources/js/bootstrap.js
Other components
- Public reporter
- Admin or teacher
Connections 17
- Public reporter → Submit report: submits report
README.md - Submit report → Class assignment: assigns class
README.md - Class assignment → Lesson schedules: matches room and time
README.md - Class assignment → Cleanliness reports: records assigned class
README.md - Admin or teacher → Monitoring dashboard: reviews activity
README.md - Monitoring dashboard → Cleanliness reports: summarizes reports
README.md - Admin or teacher → Review reports: updates status or class
README.md - Review reports → Cleanliness reports: updates reports
README.md - Admin or teacher → Manage schedules: manages schedules
README.md - Manage schedules → Lesson schedules: changes schedule data
README.md - Weekly score recap → Cleanliness reports: reads verified reports
README.md - Weekly score recap → Weekly score snapshots: updates weekly scores
README.md - HTTP entry point → Application bootstrap: boots application
public/index.php - Auth controller → User model: imports
app/Http/Controllers/Auth/AuthControler.php - User factory → User model: creates users
database/factories/UserFactory.php - App service provider → Application bootstrap: registers provider
- JS bootstrap → HTTP entry point: supports browser requests