xiangqinxiaochengxu/backend/README.md
2026-04-17 10:49:14 +08:00

544 B

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