Skip to content

SumanGouda/Library-Management-System-Fast-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ AeroLib | High-Performance Library Engine

AeroLib Engine

A high-speed Library Management System for the Desktop Web.
Now powered by a Cleaned SQL Architecture.

--- [![FastAPI](https://img.shields.io/badge/Backend-FastAPI-009688?style=for-the-badge&logo=fastapi)](https://fastapi.tiangolo.com/) [![MySQL](https://img.shields.io/badge/Database-MySQL-4479A1?style=for-the-badge&logo=mysql)](https://www.mysql.com/) [![Streamlit](https://img.shields.io/badge/Frontend-Streamlit-FF4B4B?style=for-the-badge&logo=streamlit)](https://streamlit.io/)

The Goal: Building a lightning-fast, persistent library management system for the modern desktop web.


πŸ’Ž The "Aero" Update: SQL Migration

The latest version of AeroLib introduces a Cleaned Feature architecture. We moved away from volatile, memory-heavy JSON lists to a Relational SQL Database.

Why this matters:

  • Instant Retrieval: Replaced manual Binary Search with B-Tree SQL Indexing. Finding a user is now $O(\log n)$ at the hardware level.
  • Data Integrity: Primary Key constraints prevent duplicate coustomer_id entries automatically.
  • Persistence: Your library data survives server restarts and crashes.
  • Scalability: Optimized to handle 100,000+ records without slowing down the RAM.

🌟 Key Features

  • πŸ” Google Books Integration: Instant metadata fetching (Title, Author, Genre) via ISBN.
  • πŸ›‘οΈ Smart Deletion Safety: Users with unreturned books are protected from accidental deletion.
  • ⚑ Hash Map Catalog: Books are stored in an $O(1)$ Hash Map for the fastest possible UI response.
  • 🎨 Aero UI: A clean, responsive desktop webpage interface built with Streamlit.

πŸ“‚ Project Architecture

The Database Schema

Our SQL core is designed for efficiency:

CREATE TABLE customers (
    coustomer_id INT PRIMARY KEY,   -- Indexed unique identifier
    name VARCHAR(50) NOT NULL,
    email_id VARCHAR(100),
    mobile_number BIGINT
);

About

FastAPI + Streamlit Library Manager πŸ“š An end-to-end system to manage book collections. Search by ISBN, track loans, and manage your database through a responsive web interface. Tech: Python | FastAPI | Streamlit | Pydantic | Requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors