How mishrarishu2323-engg/library-management-system works
This Flask library-management application lets an administrator sign in, review library status, and manage books, students, issues, returns, overdue items, and fines through a browser UI backed by MySQL. Issue and return workflows include manual and QR-based book identification; return processing updates issue status and book availability, while late-return fine handling is a separate capability. The central routes and much of the domain logic live together in app.py, with db.py providing database connections. The graph reflects README-documented capabilities; unsampled route details are not inferred.
Main entry points: app.py Flask routes · db.py Connection helper · responsive.js Mobile navigation · config.py Database configuration
Components 24
Web application
- Flask routes
app.py - Admin authentication
app.py - Library dashboard
app.py
Library operations
- Book management
app.py - Student management
app.py - Book issuing
app.py - Book returns
app.py - QR operations
app.py - Overdue tracking
app.py - Fine management
app.py
Data access
- Connection helper
db.py - Database configuration
config.py - Library records
Dump20260809/Dump20260809.sql
Browser interface
- Login page
templates/login.html - Dashboard page
templates/dashboard.html - Books page
templates/books.html - Students page
templates/students.html - Issue page
templates/issue_book.html - Return page
templates/return_book.html - Overdue page
templates/overdue_books.html - Fine page
templates/manage_fine.html - Mobile navigation
static/js/responsive.js - Responsive styling
static/responsive.css
Other components
- Administrator
Connections 22
- Administrator → Flask routes: uses
README.md - Flask routes → Admin authentication: routes
README.md - Flask routes → Library dashboard: routes
README.md - Flask routes → Book management: routes
README.md - Flask routes → Student management: routes
README.md - Flask routes → Book issuing: routes
README.md - Flask routes → Book returns: routes
README.md - Flask routes → QR operations: supports
README.md - Flask routes → Overdue tracking: routes
README.md - Flask routes → Fine management: routes
README.md - Flask routes → Connection helper: gets connection
app.py - Connection helper → Database configuration: reads settings
db.py - Flask routes → Library records: queries
app.py - Admin authentication → Login page: renders
- Library dashboard → Dashboard page: renders
app.py - Book management → Books page: renders
- Student management → Students page: renders
- Book issuing → Issue page: renders
- Book returns → Return page: renders
- Overdue tracking → Overdue page: renders
- Fine management → Fine page: renders
app.py - Mobile navigation → Responsive styling: styles