PSB Online MVP (PHP)
MVP ini menyediakan alur dasar:
- Pendaftaran akun wali (nomor WhatsApp)
- Formulir multi-step (5 langkah)
- Upload dokumen (KK, Akta, Ijazah)
- Upload bukti pembayaran pendaftaran
- Dashboard admin (verifikasi berkas, pembayaran, hasil tes, keputusan)
- Otomasi saat diterima:
- generate NIS otomatis
- migrasi ke tabel santri aktif
- generate billing awal tahun
Cara Menjalankan (XAMPP - SQLite)
- Taruh folder ini di
c:\xampp\htdocs\PSB.
- Pastikan Apache berjalan.
- Buka browser ke:
http://localhost/PSB/init.php (sekali untuk inisialisasi database)
http://localhost/PSB/index.php
Pakai MySQL / phpMyAdmin (Direkomendasikan)
- Buka phpMyAdmin (
http://localhost/phpmyadmin).
- Import file
database_mysql.sql.
- Buka file
config.php, ubah:
DB_DRIVER = 'mysql'
DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASS sesuai server kamu.
- Jalankan aplikasi di
http://localhost/PSB/index.php.
Contoh default XAMPP:
- Host:
127.0.0.1
- Port:
3306
- Database:
psb_online
- User:
root
- Password: kosong
Akun Admin Default
- Username:
admin
- Password:
admin123
Silakan ganti di file config.php untuk penggunaan nyata.
Catatan
- Database bisa pakai SQLite (
storage/psb.sqlite) atau MySQL (phpMyAdmin).
- Upload berkas berada di
uploads/.
- Ini MVP untuk operasional awal; untuk produksi disarankan:
- OTP WhatsApp sungguhan
- Object storage (S3/GCS)
- Queue worker terpisah
- Hardening keamanan lanjutan
# L P