Skip to content

About

Web-based library management system built with FastAPI, SQLAlchemy and SQLite.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

LibraryFlow

Web-based library management system built with FastAPI, SQLAlchemy, and SQLite.

Python FastAPI SQLAlchemy SQLite Status License

Overview

LibraryFlow is a web application for library management, designed to manage bibliographic collections and provide a foundation for user, loan, and circulation workflows.

The project originated from an academic command-line application and was later redesigned as a web application using FastAPI. Its development focuses on software architecture, data persistence, system modeling, technical documentation, and incremental delivery.

LibraryFlow is currently in beta. The application includes a modular web architecture, complete book management, search capabilities, SQLite persistence, SQLAlchemy integration, an administrative dashboard, and light and dark themes.

Current version: v0.5.0-beta

Screenshots

Login

LibraryFlow login interface

Dashboard — Light Theme

LibraryFlow dashboard using the light theme

Dashboard — Dark Theme

LibraryFlow dashboard using the dark theme

Features

Book Management

  • Create book records
  • View the book collection
  • Search the book collection
  • Edit book information
  • Delete book records
  • Persist data with SQLite
  • Manage database operations through SQLAlchemy ORM

Interface

  • Administrative dashboard
  • Light and dark themes
  • Responsive interface
  • Interactive modals
  • Notification system

Application Structure

  • FastAPI-based web application
  • SQLAlchemy ORM
  • SQLite database
  • Jinja2 templates
  • Modular organization
  • Defined application layers

Tech Stack

Area Technologies
Backend Python 3.13+, FastAPI
Persistence SQLAlchemy, SQLite
Templates Jinja2
Frontend HTML5, CSS3, JavaScript
Version Control Git, GitHub

Architecture

LibraryFlow follows a layered application structure that separates the web interface, routing, application services, persistence layer, and database.

User
  │
  ▼
Jinja2 Templates
  │
  ▼
FastAPI Routes
  │
  ▼
Services Layer
  │
  ▼
SQLAlchemy ORM
  │
  ▼
SQLite Database

This separation keeps interface concerns, application logic, and persistence responsibilities organized as the project evolves.

For a detailed description of the architecture, see docs/architecture.md.

Project Structure

LibraryFlow/
├── app/
│   ├── database/
│   ├── models/
│   ├── routes/
│   └── services/
├── database/
├── docs/
│   └── use-cases/
├── static/
│   ├── css/
│   ├── images/
│   └── js/
├── templates/
│   └── partials/
├── main.py
├── requirements.txt
└── README.md

The project separates application logic, persistence, technical documentation, static resources, and server-rendered templates into dedicated directories.

Getting Started

LibraryFlow requires Python 3.13 or newer.

Clone the repository:

git clone https://github.com/arthurcfranklin/libraryflow.git
cd libraryflow

Create and activate a virtual environment, then install the project dependencies according to the repository configuration.

Detailed environment and setup instructions are available in docs/setup.md.

Documentation

Technical documentation is maintained in docs/ and evolves alongside the application.

Document Description
Architecture Application architecture and structural decisions
Requirements Functional and non-functional requirements
Business Rules Business rules implemented by the system
Use Cases System use cases and related workflows
Database Data model and persistence documentation
API API and application interface documentation
Design Interface and design specifications
Setup Development environment and application setup
Troubleshooting Known issues and troubleshooting procedures
Changelog Project change history
Roadmap Planned project evolution
Contributing Development and contribution guidelines

Releases

Version Milestone
v0.1.0-alpha Initial Web Architecture
v0.2.0-alpha Dashboard and Theme System
v0.3.0-alpha Books Management Foundation
v0.4.0-beta Complete Books CRUD
v0.5.0-beta Documentation and Governance Framework

Roadmap

Completed

  • Web architecture
  • Administrative dashboard
  • Theme system
  • Complete books CRUD
  • SQLite persistence
  • SQLAlchemy integration
  • Modular application structure
  • Technical documentation
  • Release workflow
  • Project governance

v0.6.0-beta — Users Management

  • Create users
  • View users
  • Edit users
  • Delete users

v0.7.0-beta — Loans Management

  • Loans
  • Returns
  • Availability control

v0.8.0-beta — Authentication

  • Authentication
  • Session management
  • Route protection

v0.9.0-beta — Administration

  • Administrative reports
  • Audit capabilities
  • Management features

v1.0.0

  • Stable release

License

LibraryFlow is distributed under the MIT License.


Developed by Arthur Franklin · Português · MIT License

About

Web-based library management system built with FastAPI, SQLAlchemy and SQLite.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages