A role-based employee management web application built with Laravel, Laravel Breeze, and Tailwind CSS.
Designed for learning, CRUD practice, and real-world simulation of HR workflows.
This project now includes a richer feature set with structured role separation between Admin and Employee panels.
| Module | Description |
|---|---|
| Employees | Complete employee management with profile pages and login account creation (create-user, edit-user) with advanced search by employee name, departments, and positions. |
| Departments | Manage department information and associate employees with departments. |
| Positions | Manage company positions with base salary configuration. |
| Attendances | Track and manage employee attendance with advanced search by employee name. |
| Salaries | Create, update, and calculate salaries with advanced search by employee name and salary month. |
- Personal dashboard with profile, today's attendance status, and latest salary summary.
- Attendance self-service:
- Check-in (prevents double check-in)
- Check-out (prevents double check-out)
- View last 30 days of attendance history.
- Authentication handled by Laravel Breeze.
- Role-based access control:
adminemployee
- Automatic redirect:
/dashboard→ admin panel or employee dashboard depending on role. - Each user is linked to an employee record via
hasOne.
- Laravel — backend framework providing routing, controllers, and MVC structure.
- Tailwind CSS — utility-first responsive UI framework.
- Laravel Breeze — authentication scaffolding with session middleware.
- Vite — lightning-fast asset bundling.
To run this project properly, make sure you have installed:
- PHP 8.1+
- Composer
- Node.js
→ Download Node.js here
- Clone or pull this repository:
git clone https://github.com/<your-username>/pegawai.git cd pegawai
- Install PHP dependencies:
composer install
- Install Node.js dependencies:
npm install
- Run the Laravel development server:
php artisan serve
- In a separate terminal, compile and watch frontend assets:
npm run dev
- Visit your app at http://localhost:8000
- Index Page
- Edit Action
- Delete Page
- Index Page
- Edit Action
- Delete Page
- Index Page
- Edit Action
- Delete Page
- Index Page
- Create Page
- Edit Page
- Delete Page
Developed by Irwin Beyond as part of the Framework Programming Workshop course at EEPIS (PENS).
Built with ❤️ using Laravel & Tailwind CSS
























