尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Python FastAPI backend for Mirror, a Kotlin Android makeup simulation app. This service backs the Pro/business tier: it accepts a captured photo plus the makeup look applied to it, runs a higher-quality server-side render (and, later, an AI-assisted polish pass), and returns the enhanced image. It also owns user accounts, client/look data, and subscription entitlements.
Status: phase 1 of 8 — project scaffolding, config loading, database models, the
initial Alembic migration, and a /health check. Auth, CRUD, the enhance pipeline,
entitlements, and deployment tooling land in subsequent phases; this README will grow
into full setup/deploy docs at that point.
Also included, ahead of the phased build order: a server-rendered admin console
at /admin (Mirror staff only — separate session-cookie auth from the mobile app's
JWT auth) covering users, subscriptions, enhance jobs, the shade library, client/look
lookup, and an audit log of every admin action. See Admin console
below.
DATABASE_URLpython -m venv .venv
./.venv/Scripts/activate # Windows
pip install -e ".[dev]"
cp .env.example .env # then fill in DATABASE_URL and JWT_SECRET at minimum
alembic upgrade head
uvicorn app.main:app --reload
Run tests with:
pytest
A server-rendered console for Mirror staff at /admin, built with Jinja2 templates
(no separate frontend build/deploy). Authenticated via a signed session cookie —
entirely separate from the mobile app's JWT auth — with three roles:
Covers: dashboard (usage/health metrics), users, subscriptions, enhance jobs (with retry), the shade library (CRUD), client/look lookup (read-only), and an append-only audit log of every state-changing admin action.
There's no self-service admin signup by design. Create the first (owner) account with:
python scripts/create_admin.py [email protected] --role owner