A lightweight, in-memory Library Management System built using Flask. This project provides RESTful APIs for managing books and members in a library, allowing users to perform CRUD operations. It serves as a practical example of implementing backend services with clean, structured code.
- CRUD operations for managing books and members.
- Search functionality for books by title or author.
- Pagination for retrieving books in chunks.
- Token-based authentication for secure access to certain routes.
- In-memory storage for books and members (no external database used).
To run this project, you'll need the following installed on your machine:
- Python 3.6+.
- Flask.
Follow the steps below to set up and run the Flask application:
# 1. Set Up a Virtual Environment (Optional but Recommended):
python -m venv venv
# 2. Activate the Virtual Environment:
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
# 3. Install the Required Dependencies:
pip install flask
# 4. Run the Application:
python app.py
# 5. Access the Application:
# Open your browser and navigate to:
http://127.0.0.1:5000/