Skip to content

sarthak107/library-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System

A web based Library Management system built using Flask, ReactJs and SQLite. This app enables a librarian to manage a library by keeping track of book records, member records, transactions and issued books. It has a clean and minimalistic interface for easy access and usage.

Index

Installation

To set up the project locally, follow these setps:

  1. Open a folder where you want your project

  2. Open any terminal and initialize an empty git repository locally

    git init
  3. Now copy the link to the github repository and use it clone the repository locally:

    git clone https://github.com/sarthak107/library-management

    An alternative to the above three steps is to simply download the zipped folder and unzip it wherever you like.

  4. To install all the external python modules for the project enter the following command:

    pip install -r requirements.txt
  5. Now first go in the frontend directory using:

    cd frappe-frontend
  6. Now run the following commands to insatll all the node modules:

    npm install

This project is deployed here

To use the deployed version:

  1. Open a folder where you want your project

  2. Just get the index.py, requirements.txt & database.db files using :

    git clone --depth=1 --filter=blob:none https://github.com/sarthak107/library-management.git --path index.py
    
    git clone --depth=1 --filter=blob:none https://github.com/sarthak107/library-management.git --path requirements.txt
    
    git clone --depth=1 --filter=blob:none https://github.com/sarthak107/library-management.git --path database.db
  3. Install al the python modules using the requirements.txt:

    pip install -r requirements.txt
  4. Now run the following command to start the backend:

    python index.py
  5. Now the backend is running locally on your system. You may now open the frontend on this link and the project will run just fine.

Requirements

  • Python 3 or above (preferably Python version >= Python v3.8)
  • Pip package manager for installing Python packages.
  • Nodejs & NPM Package Manager for frontend.

Screenshots

image

image

image

image

How to use

Once the project is running, this app can be used in the following ways:

  • Search book by title: Search any book in the library.
  • Search or Add Member: Search any member or add a new member.
  • Modify Member Details: Modify the details of an existing member.
  • Delete Member: Delete a member of the library
  • Keep a record of Books issued: Keep a record of all the books that are issued.
  • Issue a Book: Issue a book to a memeber.
  • Return Book: Allow members to return books.
  • Clear Debt: Clear member debts.
  • Get all transactions: Get a list of all transactions made by members post return of a book.

Features

  • CRUD operations on books using a combination of custom Flask APIs, SQLite and the Frappe API.
  • CRUD operations on members using Flask APIs and SQLite.
  • Minimal and clean interface

Authors

Project Status

🚀 Deployment: This project is currently live and operational.

🛑 Updates: I am not actively updating the project at the moment. But am open to any suggestions.