How roverrr072-arch/library-book-tracker works
This is a browser-based library tracker. A librarian navigates between catalog, member, circulation, and report screens; the screens read or update browser-persisted books, members, and issue records. The sampled code shows those domain stages and their storage calls, but not a server backend. The README is only the React/Vite template and documents no additional product capabilities.
Main entry points: router.jsx Route shell · localStore.js Local data store · book.jsx Book catalog · member.jsx Member records
Components 10
Application shell
- React entry
src/main.jsx - Route shell
src/router.jsx - Navigation
src/components/navbar.jsx
Library management
- Book catalog
src/pages/Books/book.jsx - Member records
src/pages/Membar/member.jsx
Book circulation
- Issue and return
src/pages/Return/return.jsx
Persistence and reporting
- Member reports
src/pages/Report/report.jsx - Local data store
src/data/localStore.js - Browser localStorage
Other components
- Librarian
Connections 12
- Librarian → Navigation: chooses section
src/components/navbar.jsx - React entry → Route shell: renders
src/main.jsx - Route shell → Navigation: renders
src/router.jsx - Route shell → Book catalog: routes to
src/router.jsx - Route shell → Member records: routes to
src/router.jsx - Route shell → Issue and return: routes to
src/router.jsx - Route shell → Member reports: routes to
src/router.jsx - Book catalog → Local data store: manages books
src/pages/Books/book.jsx - Member records → Local data store: manages members
src/pages/Membar/member.jsx - Issue and return → Local data store: issues and returns
src/pages/Return/return.jsx - Member reports → Local data store: reads history
src/pages/Report/report.jsx - Local data store → Browser localStorage: reads and writes
src/data/localStore.js