Run artifact

workspace/targets/FxRates/blueprint/FEATURE-AppServer.md

FEATURE: Application Server Foundation

FieldValue
Version20261026 V1
DescriptionEstablishes the FastAPI application factory and its in-process test client.
Depends OnARCHITECTURE.md

Purpose

Provide the shared FastAPI application entry point used by uvicorn app_server.main:app and by in-process acceptance checks.

Interface

This foundation registers no feature endpoints. Endpoint behavior belongs to the stories that provide those routes.

Programmatic Acceptance

=== AC app-server-factory ===
Intent: The application factory and published test client are importable and construct the declared FastAPI interfaces.
Requires: python-package=fastapi; scope=test
Requires: python-package=httpx2; scope=test

from fastapi import FastAPI from fastapi.testclient import TestClient from app_server.main import app, create_app from app_server.testing import web_client

created = create_app() client = web_client() assert isinstance(created, FastAPI) assert isinstance(app, FastAPI) assert isinstance(client, TestClient) assert isinstance(client.app, FastAPI) === END AC app-server-factory ===

User Acceptance

Guardrails