Skip to content

About

A lightweight and functional web system built with Flask for managing physical and digital book collections. Includes support for categories, tags, search, and basic administration. Designed for small libraries that need a simple but structured solution for cataloging and browsing books.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

📚 BitLibro-Library-Management-System

Welcome to BitLibro-Library-Management-System repository!
This is a functional web application built with Flask that allows users to organize, tag, navigate, and query a catalog of physical and digital books, integrating core principles of information architecture, usability, and accessibility.


🚀 Project Overview

This system was developed as part of an academic project and focuses on managing a collection of books.
It supports features such as:

  • Organizing books by hierarchical categories
  • Assigning custom tags
  • Searching by title
  • Viewing detailed book information
  • Adding new books through a web interface or eliminate them.

The application is built using:

  • Flask (backend and routing)
  • SQLAlchemy (ORM)
  • SQLite (database)
  • Jinja2 (template rendering)

🧩 Problem Description

In many small libraries, community centers, or educational projects, managing books is still done manually or using spreadsheets. This can limit the ability to search efficiently or keep collections organized.

This project presents a lightweight web-based solution built with Flask that allows users to register, classify, and consult the books. It includes essential attributes like title, author, publisher, year of publication, price, category, and tags.

While it is adaptable to broader contexts, this version is focused on simplicity and extensibility. The inclusion of a price field is not for commercial purposes but as a reference for cataloging or inventory management.


🏗️ Information Architecture Design

The system is designed with clear data relationships and modular structure:

📦 Data Models

  • Book
    title, author, publisher, year, price, type, category, tags

  • Author
    One-to-many relationship with books

  • Category
    Supports hierarchical relationships (parent–child)

  • Tag
    Many-to-many relationship with books


🔄 Data Flow

  • Add Books: Via the /agregar route using a simple HTML form
  • Search Books: Through the /buscar route using title-based filtering
  • View Details: Individual book pages via /libro/<id>
  • Admin: Add/edit/delete is handled via backend logic (in this version, no authentication)

🧭 Navigation Map

/ → Homepage with list of books /buscar → Search interface /agregar → Add new book /libro/ → Book detail view


🧾 Metadata Structure

Each book entry includes:

  • Title — Book title
  • Author — Linked to the Author table
  • Publisher — Text field
  • Year — Year of publication
  • Price — For reference only
  • Category — Linked to hierarchical Category model
  • Tags — Many-to-many relationship for flexible filtering
  • Type — Currently fixed to 'physical'

🖼️ Screenshots and Functionality

  • 📘 Home Page: Displays the list of all books image
  • 🔍 Search Page: Allows title-based book search image
  • ➕ Add Book: Simple form to register new books image
  • 📄 Book Detail View: Full metadata for each book image

🧠 Lessons Learned

  • Flask routing and templating: Building clean, functional routes and connecting them to HTML templates
  • Database modeling with SQLAlchemy: Applying relationships (one-to-many, many-to-many)
  • Information architecture: Hierarchical categories and flexible tag-based filtering
  • Team collaboration: Splitting work between frontend and backend, communicating changes clearly
  • Modular development: Starting with a single-file prototype (app.py) helped rapidly test the backend
  • Iterative thinking: Evolving the project as new needs and design ideas emerged

👥 Authors

This project was developed by:

  • Jorge Ramiro Chay Koyoc
  • Angeles Alejandra Cruz Legorreta
  • Brad Robles García

⚙️ Quick Start

git clone https://github.com/your-username/BitLibro-Library-Management-System.git
cd BitLibro-Library-Management-System
python -m venv biblioteca_virtual
source biblioteca_virtual/bin/activate  # or venv\Scripts\activate on Windows
pip install -r requirements.txt #IMPORTANT
python app.py

About

A lightweight and functional web system built with Flask for managing physical and digital book collections. Includes support for categories, tags, search, and basic administration. Designed for small libraries that need a simple but structured solution for cataloging and browsing books.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages