核心实现:搭建 Monorepo 架构,完成 shared 共享包、gateway、user-service 基础框架开发 技术落地:严格匹配指定技术栈版本,完成 Docker、gRPC、FastAPI、PostgreSQL、Redis 等配置,实现服务间基础连通 配套文件:生成 Makefile、环境变量模板、数据库 / 脚本初始化文件及启动验证文档 架构定位:仅搭建基础架构骨架,无任何业务逻辑、业务规则及业务相关字段,为后续业务开发提供支撑
42 lines
708 B
TOML
42 lines
708 B
TOML
[project]
|
|
name = "asset_helper_backend"
|
|
version = "0.1.0"
|
|
description = "Asset Helper Backend Monorepo"
|
|
authors = [
|
|
{ name = "Author", email = "author@example.com" }
|
|
]
|
|
requires-python = ">=3.13.7"
|
|
|
|
[tool.uv.workspaces]
|
|
members = [
|
|
"shared",
|
|
"services/gateway",
|
|
"services/user-service"
|
|
]
|
|
|
|
[tool.uv.resolver]
|
|
strict = true
|
|
|
|
[tool.uv.dependencies]
|
|
fastapi = "*"
|
|
uvicorn = "*"
|
|
grpcio = "*"
|
|
grpcio-tools = "*"
|
|
pydantic = "*"
|
|
pydantic-settings = "*"
|
|
sqlalchemy = "*"
|
|
asyncpg = "*"
|
|
redis = "*"
|
|
python-dotenv = "*"
|
|
loguru = "*"
|
|
|
|
[tool.uv.dev-dependencies]
|
|
ruff = "*"
|
|
pytest = "*"
|
|
pytest-asyncio = "*"
|
|
pre-commit = "*"
|
|
|
|
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|