mantimon-tcg/backend/app/main.py
Cal Corum 234e9a95c1 Add backend foundation with uv, Black, and pre-commit hooks
- Initialize FastAPI backend with uv package manager
- Configure Black, Ruff, pytest, mypy in pyproject.toml
- Add health check endpoint and initial test
- Create AGENTS.md with coding guidelines for AI agents
- Add pre-commit hook to enforce linting and tests
2026-01-24 00:12:33 -06:00

16 lines
346 B
Python

"""Mantimon TCG - FastAPI Application Entry Point."""
from fastapi import FastAPI
app = FastAPI(
title="Mantimon TCG",
description="A home-rule-modified Pokemon Trading Card Game",
version="0.1.0",
)
@app.get("/health")
async def health_check() -> dict[str, str]:
"""Health check endpoint."""
return {"status": "healthy"}