How yeewei09101/library-system works
The repository appears to be a Malay-language library-system web app, with pages for duty scheduling, attendance, reports, and administration. The README provides no workflow details, and the sampled source covers only Firebase setup and generic Firestore helpers; page-to-page navigation and page-to-data calls therefore cannot be confirmed. The diagram preserves the distinct capabilities named by the page files without asserting those connections.
Main entry points: firebase.js Firebase setup · db-helper.js Firestore helpers · index.html Sign-in
Components 17
Application screens
- Sign-in
src/index.html - Main page
src/utama.html - Duty schedule
src/jadual_bertugas.html - Manage schedules
src/Urus_Jadual_Tugas.html - Submit report
src/hantar_laporan.html - Report records
src/rekod_laporan.html - Admin reports
src/admin_laporan.html - Attendance records
src/rekod_kehadiran.html - Review attendance
src/admin_semak_kehadiran.html - Admin page
src/admin.html - Delete users
src/padam_pengguna.html - Sign out
src/logout.html
Data access
- Firestore helpers
src/db-helper.js
Firebase services
- Firebase setup
src/firebase.js - Cloud Firestore
- Firebase Auth
Other components
- User
Connections 5
- User → Sign-in: uses
- Firestore helpers → Firebase setup: imports database
- Firebase setup → Cloud Firestore: initializes
- Firebase setup → Firebase Auth: initializes
- Firestore helpers → Cloud Firestore: reads and writes