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.
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)
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.
The system is designed with clear data relationships and modular structure:
-
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
- Add Books: Via the
/agregarroute using a simple HTML form - Search Books: Through the
/buscarroute 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)
/ → Homepage with list of books /buscar → Search interface /agregar → Add new book /libro/ → Book detail view
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'
- 📘 Home Page: Displays the list of all books

- 🔍 Search Page: Allows title-based book search

- ➕ Add Book: Simple form to register new books

- 📄 Book Detail View: Full metadata for each book

- 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
This project was developed by:
- Jorge Ramiro Chay Koyoc
- Angeles Alejandra Cruz Legorreta
- Brad Robles García
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