xiangqinxiaochengxu/backend
2026-04-17 19:26:32 +08:00
..
alembic 第一次提交 2026-04-17 10:49:14 +08:00
app 修复头像问题 2026-04-17 19:26:32 +08:00
scripts 第一次提交 2026-04-17 10:49:14 +08:00
.env.example 第一次提交 2026-04-17 10:49:14 +08:00
alembic.ini 第一次提交 2026-04-17 10:49:14 +08:00
main.py 第一次提交 2026-04-17 10:49:14 +08:00
README.md 第一次提交 2026-04-17 10:49:14 +08:00
requirements.txt 第一次提交 2026-04-17 10:49:14 +08:00

Backend

Run

  1. Create virtualenv and install dependencies: pip install -r requirements.txt
  2. Copy .env.example to .env and fill values
  3. Start dev server: uvicorn main:app --reload
  4. Initialize admin account if needed: python scripts/init_admin.py

Current status

This is the initial backend scaffold for the dating mini program. The first step includes:

  1. FastAPI app bootstrap
  2. Settings management
  3. Database session factory
  4. JWT helper
  5. Mock auth endpoints
  6. Alembic bootstrap
  7. Admin seed script