A web app for running a college library: librarians manage the catalogue and student accounts, and students find books, request them and keep track of what they've borrowed and any fines. We built it as a three-person team in my undergrad (Amatya Katyayan, Sai Acharya and Aloysius Carvalho) with PHP and MySQL.
flowchart LR
L[Login] --> A[Admin]
L --> S[Student]
A --> A1[Add, update and delete books]
A --> A2[Register and manage students]
A --> A3[Search and view records]
S --> S1[Sign up and edit profile]
S --> S2[Browse books and request one]
S --> S3[Issued books, due dates and fines]
S --> S4[Change password and send feedback]
| Folder | What's in it |
|---|---|
LMS System/ |
Splash screen, admin/student choice, admin login and the admin pages (insert_book.php, book_update_ac.php, delete_books.php, insert_student.php, view.php ...) |
Student/ |
Student portal built with Bootstrap: books.php, request.php, issue_info.php, fine.php, expired.php, feedback.php, profile.php |
library.sql, lms_system.sql |
Database schema and sample data (books, students, issued books, fines, comments) |
- Install XAMPP (Apache + MySQL + PHP).
- Copy both folders into
htdocs/. - In phpMyAdmin, create the databases and import
library.sqlandlms_system.sql. - Open
http://localhost/LMS System/for the admin side orhttp://localhost/Student/for the student portal.
The connection settings are at the top of each connection.php (XAMPP defaults: user root, no password).
This was one of my first full-stack projects, from 2021. If I built it again today I'd:
- use prepared statements everywhere instead of putting form values straight into SQL
- hash passwords with
password_hash()instead of storing them as text - keep the database settings in one config file
- replace the full-page reloads with a small JSON API
So treat it as a learning project and don't put it on a public server as it is.
