# Environment files with sensitive data
.env.prod
.env.production
backend/.env

# Node modules
node_modules/
backend/node_modules/
frontend/node_modules/

# Build outputs
backend/dist/
frontend/dist/
frontend/build/

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/

# nyc test coverage
.nyc_output

# Dependency directories
jspm_packages/

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# IDE files
.vscode/
.idea/
.claude/
*.swp
*.swo
*~

# AI context files
CLAUDE.md

# Infrastructure documentation (contains deployment details - DO NOT COMMIT)
INFRASTRUCTURE.md
DEPLOYMENT-NOTES.md
*-PRIVATE.md

# CI/CD (GitHub-specific, not needed for Gitea)
.github/

# E2E tests (keep locally for development, don't commit)
frontend/e2e/
**/playwright-report/
**/test-results/

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Backup files
*backup*
*.bak
*.tmp
*-old-*
backend-old*
frontend-old*

# Database files
*.sqlite
*.db

# Redis dump
dump.rdb