Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 721 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 721 Bytes

Library Management System

The first user to signup has superadmin privileges. Only superadmin can accept or deny clients seeking admin privileges.

Users cannot signup as admin.

To create database:

mysql -u test -p < ./config/database.sql

Replace test by your mysql username.

To start the server execute:

node app.js

To access website, go to http://localhost:3000/.

Clients can borrow books by making a borrow request which needs to be approved by an admin. Clients can return books and access their borrow history. Clients can request for admin privileges.

Admins can approve borrow requests, add new books in the catalog, make a book available for borrowing or disable borrowing of a book.