Initial commit: SQL audit platform v0.1.0
FastAPI backend with auth, user, instance, ticket, query, dashboard APIs. React + TypeScript frontend with mock data UI (10 pages). SQLite + async SQLAlchemy, JWT auth, role-based access control. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
commit
439155c92e
290 files changed
+61950
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# 数据库配置
|
||||
DATABASE_URL=mysql+pymysql://root:password@localhost:3306/data_audit
|
||||
|
||||
# Redis 配置
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
|
||||
# JWT 配置
|
||||
SECRET_KEY=your-secret-key-here
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=120
|
||||
|
||||
# 应用配置
|
||||
DEBUG=True
|
||||
HOST=0.0.0.0
|
||||
PORT=8000
|
||||
|
||||
# 邮件配置
|
||||
SMTP_HOST=smtp.example.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=noreply@example.com
|
||||
SMTP_PASSWORD=your-password
|
||||
|
||||
# 钉钉配置
|
||||
DINGTALK_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxx
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,14 @@
|
||||
fastapi==0.104.1
|
||||
uvicorn[standard]==0.24.0
|
||||
pydantic==2.5.0
|
||||
python-multipart==0.0.6
|
||||
python-jose[cryptography]==3.3.0
|
||||
passlib[bcrypt]==1.7.4
|
||||
redis==5.0.1
|
||||
pymysql==1.1.0
|
||||
sqlalchemy==2.0.23
|
||||
alembic==1.12.1
|
||||
python-dotenv==1.0.0
|
||||
httpx==0.25.2
|
||||
pytest==7.4.3
|
||||
pytest-asyncio==0.21.1
|
||||
Reference in new issue
Block a user