How syafariarigayo/yayasan-app works
Yayasan Wakaf Cendekia is a React-based foundation HR management frontend. Users enter through login or a public internship-registration form; staff then use routed dashboard pages to manage employee records, internship applications, attendance, payroll and performance evaluations. The shared Axios client attaches authentication tokens and targets a backend at port 5100. The graph preserves the documented feature areas, but the excerpts do not establish most page-to-backend calls, so those links are omitted rather than inferred.
Main entry points: App.js Route application · axios.js Authenticated API client · DashboardOverview.jsx Dashboard overview · DataKaryawan.jsx Employee records
Components 22
Application Shell
- Route application
src/App.js - Dashboard shell
src/layouts/DashboardLayout.jsx - Login
src/pages/Login.jsx - Dashboard overview
src/pages/DashboardOverview.jsx - Authenticated API client
src/api/axios.js
People Management
- Employee records
src/pages/DataKaryawan.jsx - Employee form modal
src/components/ModalTambahKaryawan.jsx - Complete employee form
src/components/TambahKaryawanLengkap.jsx - Edit employee
src/pages/EditKaryawan.jsx - New employee form
src/pages/FormKaryawanBaru.jsx - Internship registration
src/pages/FormPendaftaranMagang.jsx - Internship management
src/pages/ManagementMagang.jsx
HR Operations
- Attendance import
src/pages/ImportAbsensi.jsx - Attendance summary
src/pages/RekapAbsensi.jsx - Attendance entry
src/pages/Absensi.jsx - Performance evaluation
src/pages/PenilaianKinerja.jsx
Payroll
- Payroll management
src/pages/Penggajian.jsx - Salary calculation
src/pages/HitungGaji.jsx - Salary summary
src/pages/RekapGaji.jsx - Payslip
src/pages/SlipGaji.jsx
Other components
- Staff user
- Backend API
Connections 23
- Staff user → Route application: opens
- Route application → Login: routes
src/App.js - Route application → Internship registration: routes
src/App.js - Route application → Dashboard shell: wraps routes
src/App.js - Route application → Dashboard overview: routes
src/App.js - Route application → Employee records: routes
src/App.js - Route application → Edit employee: routes
src/App.js - Route application → Internship management: routes
src/App.js - Route application → Performance evaluation: routes
src/App.js - Route application → Attendance import: routes
src/App.js - Route application → Attendance summary: routes
src/App.js - Route application → Payroll management: routes
src/App.js - Route application → Salary summary: routes
src/App.js - Route application → Payslip: routes
src/App.js - Employee records → Authenticated API client: fetches employee data
src/pages/DataKaryawan.jsx - Employee records → Employee form modal: opens modal
src/pages/DataKaryawan.jsx - Employee form modal → Authenticated API client: submits employee data
src/components/ModalTambahKaryawan.jsx - Complete employee form → Authenticated API client: submits employee data
src/components/TambahKaryawanLengkap.jsx - Dashboard overview → Authenticated API client: uses client
src/pages/DashboardOverview.jsx - Dashboard overview → Employee form modal: uses modal
src/pages/DashboardOverview.jsx - Salary summary → Authenticated API client: loads salary data
src/pages/RekapGaji.jsx - Internship registration → Backend API: posts application
src/pages/FormPendaftaranMagang.jsx - Authenticated API client → Backend API: sends API requests
src/api/axios.js