Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Library Management System

A modern library management web app built with Node.js, Express, and EJS. It helps manage students, issue/return books, library cards, and activity logs using local JSON files for persistence.

Why this project?

This project is designed for a small library or educational institution that needs a simple, practical, and easy-to-run management dashboard without requiring a database. It is lightweight, fast, and easy to customize.

Features

  • Student registration and management
  • Search and filter students by name, ID, roll number, course, or fields like name:abc
  • Library card issuance, renewal, and cancellation
  • Book issue and return tracking
  • Fee and membership tracking
  • Activity logging for each student
  • Clean admin dashboard and student detail screens
  • JSON-based storage for quick setup and portability

Tech Stack

  • Node.js
  • Express.js
  • EJS templates
  • HTML/CSS/JavaScript
  • fs-extra for JSON file handling

Project Structure

  • index.js — main application logic
  • server.js — startup entry point
  • data.json — student records
  • log.json — audit logs
  • views/ — EJS pages
  • public/ — frontend styles and scripts

Demo

The project is running locally and can be opened at:

Real demo flow

  1. Visit the login page.
  2. Enter any username/password to proceed to the student dashboard.
  3. Add a student from the dashboard.
  4. View, edit, or delete student records.
  5. Issue or return books from the student detail page.
  6. Manage library card status and review activity logs.

Screenshots

Library Admin login screen

Student list dashboard

Student details screen

Installation

  1. Clone the repository
  2. Open the folder in your terminal
  3. Install dependencies:
npm install
  1. Start the app:
npm start
  1. Open the browser:
http://localhost:8080

Development mode

npm run dev

Notes

  • The app stores data in JSON files, so it is ideal for demos, learning projects, and local deployments.
  • For production use, you may want to add database integration, authentication, role-based access, and validation.

License

This project is created for educational and demo purposes.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages