Skip to content

School attendance system (Laravel 12) — role-based dashboards, students & attendance CRUD, auth with Breeze.

Notifications You must be signed in to change notification settings

bondanbanuaji/sistem-absensi

Repository files navigation

Sistem-Absensi

A simple school attendance system built with Laravel 12. Supports role-based dashboards for admin, teacher, and student, with attendance tracking and charts.


✍️ Features

  • Role-based authentication and dashboards:
    • Admin: Manage students, manage attendances, view charts
    • Teacher: View and manage attendances
    • Student: View personal attendance
  • Students CRUD (admin)
  • Attendances CRUD with date filter and search
  • Simple charts using Chart.js
  • Authentication scaffolded with Laravel Breeze

🛠 Tech Stack / Requirements

  • PHP 8.2+
  • Laravel 12.x
  • MySQL / MariaDB
  • Node.js + npm (for frontend assets via Vite)
  • Composer

🚀 Quick Setup

  1. Clone the repo:
git clone https://github.com/bondanbanuaji/sistem-absensi.git
cd sistem-absensi
  1. Copy .env.example to .env and set DB credentials:
cp .env.example .env
  1. Install dependencies:
composer install
npm install
npm run build
php artisan key:generate
  1. Migrate & seed database:
php artisan migrate --seed
  1. Serve project:
php artisan serve
# visit http://127.0.0.1:8000

👥 Roles & Usage

Admin

  • Manage students and attendances
  • View attendance charts

Teacher

  • Manage attendance records
  • Filter and search students

Student

  • View personal attendance

📝 Notes

  • Role-specific routes are protected by middleware
  • Students cannot access admin or teacher routes
  • Use php artisan route:list to see all routes
  • Clear cache if needed:
php artisan config:clear
php artisan route:clear  
php artisan view:clear
php artisan cache:clear

📄 License

MIT License

About

School attendance system (Laravel 12) — role-based dashboards, students & attendance CRUD, auth with Breeze.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages