How jomarbunquin/minsu_library_tracker works
This is a browser-based library tracker for a librarian. After signing in, the librarian manages books, borrowers, and borrowing records; the dashboard summarizes availability, overdue items, and popular books. App owns the records and CRUD rules, loads initial JSON data, and persists changes in browser storage. Table components provide search, sorting, and pagination. The README is empty; the graph reflects the supplied source excerpts and index, so details of unsampled components and JSON loading are limited.
Main entry points: App.jsx App coordinator · BorrowTable.jsx Borrowing history · BookTable.jsx Book catalog · MemberTable.jsx Borrower list
Components 19
Application
- App coordinator
src/App.jsx - Sign-in
src/components/Login.jsx - Dashboard
src/components/Dashboard.jsx - Browser storage
src/App.jsx - React entry point
src/main.jsx
Library records
- Book records
src/components/BookForm.jsx - Book catalog
src/components/BookTable.jsx - Borrower records
src/components/MemberForm.jsx - Borrower list
src/components/MemberTable.jsx - Book seed data
public/books.json - Borrower seed data
public/members.json
Borrowing
- Borrowing form
src/components/BorrowForm.jsx - Borrowing history
src/components/BorrowTable.jsx - Borrowing seed data
public/borrowings.json
Shared UI
- Notifications
src/components/Toast.jsx - Table controls
src/components/TableParts.jsx - Sort and paginate
src/hooks.js - Domain utilities
src/utils.js
Other components
- Librarian
Connections 29
- Librarian → Sign-in: signs in
- React entry point → App coordinator: renders
src/main.jsx - App coordinator → Sign-in: gates access
src/App.jsx - App coordinator → Dashboard: renders
src/App.jsx - App coordinator → Book records: renders
src/App.jsx - App coordinator → Book catalog: renders
src/App.jsx - Book catalog → App coordinator: invokes actions
src/App.jsx - App coordinator → Borrower records: renders
src/App.jsx - App coordinator → Borrower list: renders
src/App.jsx - Borrower list → App coordinator: invokes actions
src/App.jsx - App coordinator → Borrowing form: renders
src/App.jsx - Borrowing form → App coordinator: submits records
src/App.jsx - App coordinator → Borrowing history: renders
src/App.jsx - Borrowing history → App coordinator: invokes actions
src/App.jsx - App coordinator → Notifications: renders
src/App.jsx - App coordinator → Browser storage: loads and saves
src/App.jsx - App coordinator → Book seed data: loads seed data
- App coordinator → Borrower seed data: loads seed data
- App coordinator → Borrowing seed data: loads seed data
- Book catalog → Sort and paginate: sorts pages
src/components/BookTable.jsx - Borrowing history → Sort and paginate: sorts pages
src/components/BorrowTable.jsx - Borrower list → Sort and paginate: sorts pages
src/components/MemberTable.jsx - Book catalog → Table controls: renders controls
src/components/BookTable.jsx - Borrowing history → Table controls: renders controls
src/components/BorrowTable.jsx - Borrower list → Table controls: renders controls
src/components/MemberTable.jsx - Dashboard → Domain utilities: checks overdue
src/components/Dashboard.jsx - Borrowing history → Domain utilities: checks overdue
src/components/BorrowTable.jsx - Borrowing form → Domain utilities: sets dates
src/components/BorrowForm.jsx - App coordinator → Domain utilities: validates records
src/App.jsx