Skip to content

About

College library web app in PHP and MySQL: admin catalogue and student management, plus a student portal for requests, issued books and fines.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Library Management System

Login screen asking whether you are an admin or a student

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.

Two sides of the app

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]
Loading
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)

Running it locally

  1. Install XAMPP (Apache + MySQL + PHP).
  2. Copy both folders into htdocs/.
  3. In phpMyAdmin, create the databases and import library.sql and lms_system.sql.
  4. Open http://localhost/LMS System/ for the admin side or http://localhost/Student/ for the student portal.

The connection settings are at the top of each connection.php (XAMPP defaults: user root, no password).

Looking back

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.

About

College library web app in PHP and MySQL: admin catalogue and student management, plus a student portal for requests, issued books and fines.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages