Go to file
IlhamIslamy df88547cc3 - Mengubah `user_id` menjadi nullable dan menambah kolom `email` pada tabel employees
- Memperbarui EmployeeController agar pembuatan data karyawan tidak otomatis membuat akun user
- Menambahkan sinkronisasi update data karyawan ke akun user (jika sudah tertaut)
- Menyesuaikan UI Frontend (Create, Edit, Index) agar membaca data langsung dari objek employee
- Menambahkan icon Settings dan tombol Logout pada AdminLayout
- Menyesuaikan host localhost pada konfigurasi Vite
2026-05-21 00:56:00 +07:00
.github/workflows Staterkit App 2026-02-04 01:18:26 +07:00
app - Mengubah `user_id` menjadi nullable dan menambah kolom `email` pada tabel employees 2026-05-21 00:56:00 +07:00
bootstrap Feat: Roles management fiture 2026-03-02 04:41:07 +07:00
config Staterkit App 2026-02-04 01:18:26 +07:00
database - Mengubah `user_id` menjadi nullable dan menambah kolom `email` pada tabel employees 2026-05-21 00:56:00 +07:00
docs feat absensi 2026-04-23 10:25:39 +07:00
public feat: implement core HRIS features including dashboard, employee management, departments, positions, payroll, and attendance modules 2026-05-08 02:02:40 +07:00
resources - Mengubah `user_id` menjadi nullable dan menambah kolom `email` pada tabel employees 2026-05-21 00:56:00 +07:00
routes feat: implement core HRIS features including dashboard, employee management, departments, positions, payroll, and attendance modules 2026-05-08 02:02:40 +07:00
storage Staterkit App 2026-02-04 01:18:26 +07:00
tests Staterkit App 2026-02-04 01:18:26 +07:00
.editorconfig Staterkit App 2026-02-04 01:18:26 +07:00
.env.example Staterkit App 2026-02-04 01:18:26 +07:00
.gitattributes Staterkit App 2026-02-04 01:18:26 +07:00
.gitignore Staterkit App 2026-02-04 01:18:26 +07:00
.prettierignore Staterkit App 2026-02-04 01:18:26 +07:00
.prettierrc Staterkit App 2026-02-04 01:18:26 +07:00
README.md change: Readme.md 2026-02-04 01:26:09 +07:00
artisan Staterkit App 2026-02-04 01:18:26 +07:00
components.json Staterkit App 2026-02-04 01:18:26 +07:00
composer.json Staterkit App 2026-02-04 01:18:26 +07:00
composer.lock Staterkit App 2026-02-04 01:18:26 +07:00
eslint.config.js Staterkit App 2026-02-04 01:18:26 +07:00
package-lock.json feat: implement core HRIS features including dashboard, employee management, departments, positions, payroll, and attendance modules 2026-05-08 02:02:40 +07:00
package.json feat: implement core HRIS features including dashboard, employee management, departments, positions, payroll, and attendance modules 2026-05-08 02:02:40 +07:00
phpunit.xml Staterkit App 2026-02-04 01:18:26 +07:00
pint.json Staterkit App 2026-02-04 01:18:26 +07:00
tsconfig.json Staterkit App 2026-02-04 01:18:26 +07:00
vite.config.ts - Mengubah `user_id` menjadi nullable dan menambah kolom `email` pada tabel employees 2026-05-21 00:56:00 +07:00

README.md

# HR Management System (HRIS) - PT Zhanhui Jaya Indonesia

A web-based Human Resource Information System (HRIS) built to facilitate employee data management, attendance tracking, and leave requests.

Technology Stack

  • Backend: Laravel 12 (PHP Framework)
  • Frontend: React.js
  • Full-stack Adapter: Inertia.js
  • Database: MySQL
  • Styling: Tailwind CSS
  • Testing: Pest PHP

System Requirements

Before running the application, ensure the following are installed:

  • PHP >= 8.2
  • Composer
  • Node.js & NPM
  • MySQL (via XAMPP/Laragon)

Installation Guide

Follow these steps if moving the project to a new machine:

  1. Clone Repository / Extract Files Open a terminal inside the project folder.

  2. Install Backend Dependencies

    composer install
    
  3. Install Frontend Dependencies

    npm install
    
  4. Setup Environment Copy the configuration file .env:

    cp .env.example .env
    
  5. Generate Application Key

    php artisan key:generate
    
  6. Database Configuration

    • Create a new database in phpMyAdmin (e.g., hris_db).
    • Open the .env file and configure the database connection:
      DB_CONNECTION=mysql
      DB_HOST=127.0.0.1
      DB_PORT=3306
      DB_DATABASE=hris_db
      DB_USERNAME=root
      DB_PASSWORD=
      

    (Remove or comment out the line DB_CONNECTION=sqlite if present).

  7. Database Migration Run this command to create the tables in the database:

    php artisan migrate
    

Running the Application

To start the local development server (Backend & Frontend), simply run:

composer run dev

Running Tests

To run automated tests (Unit & Feature Tests):

php artisan test