|
…
|
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| scripts | ||
| tests | ||
| .env.example | ||
| alembic.ini | ||
| app.db | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
Backend
Run
- Create virtualenv and install dependencies:
pip install -r requirements.txt - Copy
.env.exampleto.envand fill values - Start dev server:
uvicorn main:app --reload - 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:
- FastAPI app bootstrap
- Settings management
- Database session factory
- JWT helper
- Mock auth endpoints
- Alembic bootstrap
- Admin seed script