From e10d4a96e062818cb2395add1746c733a053c374 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:25:54 +0900 Subject: feat: add FastAPI REST API service --- services/api/pyproject.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 services/api/pyproject.toml (limited to 'services/api/pyproject.toml') diff --git a/services/api/pyproject.toml b/services/api/pyproject.toml new file mode 100644 index 0000000..fd2598d --- /dev/null +++ b/services/api/pyproject.toml @@ -0,0 +1,20 @@ +[project] +name = "trading-api" +version = "0.1.0" +description = "REST API for the trading platform" +requires-python = ">=3.12" +dependencies = [ + "fastapi>=0.110", + "uvicorn>=0.27", + "trading-shared", +] + +[project.optional-dependencies] +dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "httpx>=0.27"] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/trading_api"] -- cgit v1.2.3