Run artifact

workspace/targets/ReadingList/blueprint/ARCHITECTURE.md

ARCHITECTURE: ReadingList

FieldValue
Version20261023 V1
DescriptionApplication structure and module boundaries for the ReadingList web application.
Depends On—
Providesapp_server.create_app, app_server.testing.web_client
Consumes—

Application Structure

The application uses a Flask factory in app_server.create_app. Web routes are registered by the application factory. Feature modules handle request workflows and call the generated persistence package for storage.

Module Ownership

BoundaryOwnerRule
Application factoryapp_serverCreates and configures the Flask application.
Web routesFeature modulesTranslate HTTP requests into feature operations.
PersistenceGenerated persistence packageOwns database connections, schema operations, and repository calls.
Configurationapp_serverResolves application settings and database configuration.
Templates and stylingInterface layerRenders the server-rendered reading-list screen.
External servicesNoneNo external services are required.

Routes

MethodRouteOwner
GET/FEATURE-READING-LIST.md
POST/booksFEATURE-ADD-BOOK.md and FEATURE-VALIDATE-BOOK.md
POST/books/<book_id>/deleteFEATURE-REMOVE-BOOK.md

Technology Stack

TechnologyUse
PythonApplication implementation and tests.
FlaskWeb application factory, routing, and test client.
SQLiteLocal relational persistence.
pytestAutomated test suite.
HTML/CSSServer-rendered browser interface.

Technical Decisions

Programmatic Acceptance

=== AC architecture-factory ===
Intent: The application exposes the selected Flask factory and testing client contracts.

from flask import Flask from app_server import create_app from app_server.testing import web_client

app = create_app() assert isinstance(app, Flask) client = web_client() assert client is not None === END AC architecture-factory ===

=== AC architecture-testing ===
Intent: The application factory can be created repeatedly for isolated automated tests.

from app_server import create_app

first = create_app() second = create_app() assert first is not second assert first.name == second.name === END AC architecture-testing ===

User Acceptance

Guardrails