docs: add project description and server setup instructions to README

This commit is contained in:
2026-03-21 18:25:35 +00:00
parent c81815a83d
commit 6115a065c7
36 changed files with 4003 additions and 0 deletions

36
server/pyproject.toml Normal file
View File

@@ -0,0 +1,36 @@
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "demeter-server"
version = "0.1.0"
description = "Demeter IoT Management Server — CoAP observer + FastAPI dashboard"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"aiocoap>=0.4.8",
"pyyaml>=6.0",
"prometheus-client>=0.19.0",
"jinja2>=3.1.2",
"python-logging-loki>=0.3.1",
"pydantic-settings>=2.1.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.25.0",
]
[tool.setuptools.packages.find]
include = ["app*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]