添加项目基础结构,包括: - 核心模块(src/main.py) - 路由模块(users/items) - 数据库配置和模型 - 日志工具 - 测试用例 - 项目文档和依赖配置
11 lines
202 B
Plaintext
11 lines
202 B
Plaintext
# Database configuration
|
|
DATABASE_URL=sqlite:///./test.db
|
|
|
|
# API configuration
|
|
API_HOST=localhost
|
|
API_PORT=8000
|
|
|
|
# Security
|
|
SECRET_KEY=your-secret-key-here
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30 |