refactor: implement core and server dir to split the library and endpoints for testing

This commit is contained in:
AlanSilvaaa
2026-05-29 17:43:22 -04:00
parent da59c4e64d
commit 4e9f3c164f
36 changed files with 723 additions and 58 deletions

View File

@@ -0,0 +1,16 @@
from fastapi import FastAPI
from math_problems_structure.server.routes import grade_1
app = FastAPI(
title="Math Problems Structure",
description="HTTP server for testing math problem generators.",
version="0.1.0",
)
app.include_router(grade_1.router)
@app.get("/health")
async def health_check() -> dict[str, str]:
return {"status": "healthy"}