A Library Management System with a web-based interface for managing books, borrowers, loans, and fines.
- Python 3.8 or higher
- pip (Python package manager)
-
Install dependencies:
cd Milestone3\backend pip install -r requirements.txt -
Initialize database:
python init_db.py python data_import.py
Option 1: Use the batch file (Windows)
.\START_SERVER.batOption 2: Manual start
cd Milestone3\backend
python app.pyThe server will start at http://127.0.0.1:5000
Open your browser and navigate to http://127.0.0.1:5000 to access the Library Management System.
-
Milestone3/backend/- Flask backend with SQLite databaseapp.py- Main Flask applicationroutes/- API route handlersschema.sql- Database schemadata_import.py- Import CSV data into database
-
Milestone3/frontend/- Static HTML/CSS/JavaScript frontendlandingpage.html- Main entry pointadmin.html- Admin dashboard for librariansjs/- JavaScript modulescss/- Stylesheets
-
Milestone3/data/- CSV data files (books, authors, borrowers) -
Milestone3/specs/- API and business rules documentation
- Book Search - Search books by ISBN, title, or author
- Checkout/Checkin - Manage book loans
- Borrower Management - Create and manage borrower accounts
- Fines System - Automatic fine calculation and payment
- Admin Dashboard - Comprehensive view of all system data for librarians
- Setup Instructions: See
STARTUP_INSTRUCTIONS.md - Testing Guide: See
TESTING_GUIDE.md - API Documentation: See
Milestone3/specs/api.md - Business Rules: See
Milestone3/specs/business_rules.md