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.
To set up the project locally, follow these setps:
-
Open a folder where you want your project
-
Open any terminal and initialize an empty git repository locally
git init
-
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.
-
To install all the external python modules for the project enter the following command:
pip install -r requirements.txt
-
Now first go in the frontend directory using:
cd frappe-frontend
-
Now run the following commands to insatll all the node modules:
npm install
This project is deployed here
To use the deployed version:
-
Open a folder where you want your project
-
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
-
Install al the python modules using the requirements.txt:
pip install -r requirements.txt
-
Now run the following command to start the backend:
python index.py
-
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.
- Python 3 or above (preferably Python version >= Python v3.8)
- Pip package manager for installing Python packages.
- Nodejs & NPM Package Manager for frontend.
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.
- 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
- SARTHAK SARAF - Project Lead
🚀 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.