Files
gmh01 7614e79d12 refactor: rewrite backend in Go, replacing Python FastAPI
Port the FastAPI backend to Go 1.26, preserving all API functionality:
- auth (register/login/guest/logout/profile/history) with JWT + bcrypt
- scripts (list/detail) backed by embedded sample_data.json
- games (create/join/start/chat/phase/clue/vote/state/replay) + WebSocket
- rule-based NPC agent plus DeepSeek/Ollama AI backends
- SQLite persistence via modernc.org/sqlite (pure Go, no cgo)

Frontend and documents are unchanged.
2026-08-03 11:39:53 +08:00

63 lines
478 B
Plaintext

# Dependencies
node_modules/
# Build outputs
dist/
build/
*.tsbuildinfo
# Python
__pycache__/
*.py[cod]
*.egg-info/
.venv/
venv/
# Database / binary data files
*.db
*.sqlite
*.sqlite3
# Logs
*.log
logs/
# Environment / secrets
.env
.env.*
!.env.example
# Binary files
*.pdf
*.exe
*.dll
*.so
*.dylib
*.jar
*.war
*.zip
*.tar
*.gz
*.rar
*.7z
*.png
*.jpg
*.jpeg
*.gif
*.ico
*.bmp
*.mp3
*.mp4
*.avi
*.wav
*.bin
*.dat
# IDE / OS
.idea/
.vscode/
*.swp
*.swo
.DS_Store
Thumbs.db