|
|
2 tygodni temu | |
|---|---|---|
| .. | ||
| __pycache__ | 2 tygodni temu | |
| app | 2 tygodni temu | |
| .dockerignore | 2 tygodni temu | |
| Dockerfile | 2 tygodni temu | |
| README.md | 2 tygodni temu | |
| __init__.py | 2 tygodni temu | |
| requirements.txt | 2 tygodni temu | |
| schema.sql | 2 tygodni temu | |
pgcrypto 扩展)pip install -r backend/requirements.txt
在项目根目录或 backend/ 下创建 .env(任选其一),示例:
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/schedule_management
JWT_SECRET=change-me
uvicorn backend.app.main:app --reload
adminadmin123