增加資料庫連線到MySQL

This commit is contained in:
2025-10-28 21:38:53 +08:00
parent f690604c4a
commit e441a328ab
12 changed files with 1562 additions and 17 deletions

50
.gitignore vendored Normal file
View File

@@ -0,0 +1,50 @@
# Environment variables
.env
# Python cache
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
# Database
instance/
*.db
*.sqlite
*.sqlite3
# Flask migrations (optional, comment out if you want to commit)
# migrations/
# Virtual Environment
venv/
env/
ENV/
.venv
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# Logs
*.log
logs/
# OS
.DS_Store
Thumbs.db
# Testing
.coverage
.pytest_cache/
htmlcov/
.tox/
# Build files
dist/
build/
*.egg-info/