How crisjohndev/smart-library-book-monitoring-and-reminder-system works
This is a Django school-library system for managing students, attendance, book inventory, circulation, and reporting. Staff use the web interface to maintain student and book records, issue and return books, monitor overdue loans, and view reports. An RFID attendance endpoint records student time-in/time-out; separate due-book endpoints expose reminders and accept SMS-sent confirmations. The views and API perform domain operations against shared Django models. Source excerpts show these key flows, but not every route implementation or the reminder consumer; those connections are omitted or marked unverified.
Main entry points: core/views.py Staff workflows · models.py Student and attendance data · urls.py Django routing · api/views.py Device and reminder API
Components 20
Staff web workflows
- Staff workflows
core/views.py - Student records
core/views.py - Attendance logs
core/views.py - Book catalog
core/views.py - Loan and return
core/views.py - Overdue and reports
core/views.py
Library domain
- Student and attendance data
core/models.py - Book inventory
core/models.py - Borrowing records
core/models.py - SQLite database
library_system/settings.py
Device and reminder API
- Device and reminder API
api/views.py - RFID time tracking
api/views.py - Due-book lookup
api/views.py - SMS sent confirmation
api/views.py
Django runtime
- Django routing
library_system/urls.py - Web route map
core/urls.py - API route map
library_system/urls.py
Other components
- Library staff
- RFID attendance device
- Reminder sender
Connections 31
- Library staff → Django routing: uses web app
library_system/urls.py - Django routing → Web route map: includes routes
library_system/urls.py - Web route map → Staff workflows: dispatches requests
core/urls.py - Staff workflows → Student records: handles student tasks
core/urls.py - Staff workflows → Attendance logs: handles attendance views
core/urls.py - Staff workflows → Book catalog: handles catalog tasks
core/urls.py - Staff workflows → Loan and return: handles loan tasks
core/urls.py - Staff workflows → Overdue and reports: handles reports
core/urls.py - Student records → Student and attendance data: creates records
core/views.py - Attendance logs → Student and attendance data: reads attendance
core/views.py - Book catalog → Book inventory: creates books
core/views.py - Loan and return → Student and attendance data: looks up students
core/views.py - Loan and return → Book inventory: looks up books
core/views.py - Loan and return → Borrowing records: creates and updates loans
core/views.py - Overdue and reports → Book inventory: counts inventory
core/views.py - Overdue and reports → Borrowing records: queries loan status
core/views.py - RFID attendance device → Django routing: sends RFID request
library_system/urls.py - Django routing → API route map: routes API
library_system/urls.py - API route map → Device and reminder API: dispatches endpoints
library_system/urls.py - Device and reminder API → RFID time tracking: serves attendance
api/views.py - Device and reminder API → Due-book lookup: serves due lookup
api/views.py - Device and reminder API → SMS sent confirmation: serves confirmation
api/views.py - RFID time tracking → Student and attendance data: finds students
api/views.py - RFID time tracking → Student and attendance data: writes attendance
api/views.py - Due-book lookup → Borrowing records: queries due loans
api/views.py - SMS sent confirmation → Borrowing records: marks reminder sent
api/views.py - Reminder sender → Django routing: requests reminder data
- Due-book lookup → Reminder sender: returns due-book data
- Student and attendance data → SQLite database: persists records
- Book inventory → SQLite database: persists inventory
- Borrowing records → SQLite database: persists loans