init backend presensi

This commit is contained in:
mwpn
2026-03-05 14:37:36 +07:00
commit b4fda6b9c9
319 changed files with 27261 additions and 0 deletions

49
app/Modules/README.md Normal file
View File

@@ -0,0 +1,49 @@
# Modular Monolith Structure
Struktur modular monolith untuk SMAN1 Face Attendance System.
## Struktur Modul
Setiap modul mengikuti clean architecture pattern dengan pemisahan layer:
```
app/Modules/
├── Auth/
│ ├── Controllers/ # HTTP request handlers
│ ├── Models/ # Data access layer
│ ├── Services/ # Business logic layer
│ └── Entities/ # Domain entities
├── Students/
│ ├── Controllers/
│ ├── Models/
│ ├── Services/
│ └── Entities/
├── Attendance/
│ ├── Controllers/
│ ├── Models/
│ ├── Services/
│ └── Entities/
├── Devices/
│ ├── Controllers/
│ ├── Models/
│ ├── Services/
│ └── Entities/
└── Dashboard/
├── Controllers/
├── Models/
├── Services/
└── Entities/
```
## Namespace Convention
Semua modul menggunakan namespace `App\Modules\{ModuleName}\{Layer}`
Contoh:
- `App\Modules\Auth\Controllers\AuthController`
- `App\Modules\Students\Services\StudentService`
- `App\Modules\Attendance\Models\AttendanceModel`
## Autoloading
Modul-modul otomatis ter-autoload melalui Composer PSR-4 autoloading yang sudah dikonfigurasi di `composer.json`.