CRITICAL: The .env file containing real database credentials was tracked in git. This commit: - Removes backend/.env from git tracking (file kept locally) - Adds .env patterns to .gitignore to prevent future commits - Updates .env.example with placeholder values only ACTION REQUIRED: Rotate all credentials that were exposed: - MySQL password - JWT secret key - Any other secrets in the .env file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
40 lines
414 B
Plaintext
40 lines
414 B
Plaintext
# Environment files (NEVER commit secrets!)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.env
|
|
!.env.example
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
|
|
|
|
# Test artifacts
|
|
backend/uploads/
|
|
uploads/
|
|
dump.rdb
|
|
.lsp_mcp.port
|
|
.claude/
|
|
!.claude/skills/
|
|
!.claude/commands/
|
|
|
|
# Logs
|
|
logs/
|
|
.playwright-mcp/
|
|
.mcp.json
|
|
|
|
# Playwright
|
|
frontend/e2e/.auth/
|
|
frontend/test-results/
|
|
frontend/playwright-report/
|
|
.mcp.json
|
|
.mcp.json
|