diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:25:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:25:54 +0900 |
| commit | e10d4a96e062818cb2395add1746c733a053c374 (patch) | |
| tree | bbd222cd840d2c7fc58d3109362fb1b0c00aee26 /services/api/pyproject.toml | |
| parent | 21c6b777530b4a027aec9c12bf63092e5a7c006d (diff) | |
feat: add FastAPI REST API service
Diffstat (limited to 'services/api/pyproject.toml')
| -rw-r--r-- | services/api/pyproject.toml | 20 |
1 files changed, 20 insertions, 0 deletions
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"] |
