init: 项目初始提交 - NeoZQYY Monorepo 完整代码

This commit is contained in:
Neo
2026-02-15 14:58:14 +08:00
commit ded6dfb9d8
769 changed files with 182616 additions and 0 deletions

22
apps/backend/app/main.py Normal file
View File

@@ -0,0 +1,22 @@
"""
NeoZQYY 后端 API 入口
基于 FastAPI 构建,为微信小程序提供 RESTful API。
OpenAPI 文档自动生成于 /docsSwagger UI和 /redocReDoc
"""
from fastapi import FastAPI
app = FastAPI(
title="NeoZQYY API",
description="台球门店运营助手 — 微信小程序后端 API",
version="0.1.0",
docs_url="/docs",
redoc_url="/redoc",
)
@app.get("/health", tags=["系统"])
async def health_check():
"""健康检查端点,用于探活和监控。"""
return {"status": "ok"}