feat(project): initialize ZUGFeRD service with pyproject.toml and directory structure

This commit is contained in:
m3tm3re
2026-02-04 19:19:44 +01:00
parent 48ad42aa19
commit 0db2482bf2
19 changed files with 2114 additions and 0 deletions

20
src/main.py Normal file
View File

@@ -0,0 +1,20 @@
"""FastAPI application for ZUGFeRD invoice processing."""
import uvicorn
from fastapi import FastAPI
app = FastAPI(
title="ZUGFeRD Service",
version="1.0.0",
description="REST API for ZUGFeRD invoice extraction and validation",
)
def run(host: str = "0.0.0.0", port: int = 5000) -> None:
"""Run the FastAPI application.
Args:
host: Host to bind to.
port: Port to listen on.
"""
uvicorn.run(app, host=host, port=port)