Skip to content

A Flask-based Library Management System API supporting CRUD operations for books and members, built with a focus on correctness, clean code, and functionality. Includes optional features like search, pagination, and token-based authentication.

Notifications You must be signed in to change notification settings

HemanthGangula/library-management-system-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System API

A Flask-based Library Management System API supporting CRUD operations for books and members, built with a focus on correctness, clean code, and functionality. Includes features like search, pagination, and token-based authentication.

Features

  • CRUD Operations: Manage books and members with Create, Read, Update, and Delete functionalities.
  • Search Functionality: Search books by title or author.
  • Pagination: Navigate through large datasets efficiently.
  • Token-Based Authentication: Secure API endpoints with authentication tokens.
  • Unit Testing: Comprehensive tests to ensure API reliability and correctness.

Built With

  • Flask - A lightweight WSGI web application framework.
  • Python - Programming language used.
  • Unittest - Python's built-in testing framework.

Quick Start

  1. Clone and install:
git clone https://github.com/HemanthGangula/library-management-system-api

changing into project directory

cd library-management-system-api

creating virtual environment

python3 -m venv venv

activate the environment

source venv/bin/activate 

Installing the requirements that are mention in the requirements.txt

pip install -r requirements.txt
  1. Run the application:
python3 app.py
  1. Visit the application:
http://127.0.0.1:5000/

The Library Management System is now running. You can perform operations like adding books, managing members, searching, and more through the API endpoints.

  1. Deactivate the virtual environment when done:
deactivate

Testing

source venv/bin/activate
python3 -m unittest discover tests

If you're ready to develop a frontend for the Library Management System, refer to the detailed API documentation.

About

A Flask-based Library Management System API supporting CRUD operations for books and members, built with a focus on correctness, clean code, and functionality. Includes optional features like search, pagination, and token-based authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published