# =============================================================================
# Java / Maven
# =============================================================================
target/
**/target/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
replay_pid*
.factorypath
.mvn/wrapper/maven-wrapper.jar

# Local Spring config (use *.template as the committed baseline)
**/application.properties
!**/application.properties.template
**/properties/application.properties
!**/properties/application.properties.template

# =============================================================================
# Node.js / Next.js (frontend)
# =============================================================================
node_modules/
**/node_modules/

.next/
**/.next/
out/
**/out/
dist/
**/dist/
build/
**/build/
.turbo/
.vercel/

# TypeScript / tooling caches
*.tsbuildinfo
.eslintcache
.stylelintcache
.parcel-cache
.cache/

# Package manager debug logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# OpenAPI codegen error dumps
openapi-ts-error-*.log

# =============================================================================
# Python (BrAPI test scripts)
# =============================================================================
__pycache__/
**/__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
ENV/
env/
.pytest_cache/
.mypy_cache/
.ruff_cache/
*.egg-info/
.eggs/
pip-log.txt
pip-delete-this-directory.txt

# =============================================================================
# Environment & secrets
# =============================================================================
.env
.env.local
.env.*.local
.env.development.local
.env.test.local
.env.production.local
!.env.example
!.env.template
!.env.*.example

*.pem
*.key
*.p12
*.pfx
credentials.json
secrets.json
**/secrets/

# =============================================================================
# IDE & editors
# =============================================================================
.idea/
*.iml
*.ipr
*.iws
.vscode/
!.vscode/extensions.json
!.vscode/settings.json.example
*.swp
*.swo
*~
.project
.classpath
.settings/
.pydevproject

# =============================================================================
# Database tools
# =============================================================================
.dbeaver/
.dbeaver-data-sources.xml

# =============================================================================
# OS junk
# =============================================================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Thumbs.db
ehthumbs.db
Desktop.ini

# =============================================================================
# Logs & local runtime output
# =============================================================================
*.log
logs/
run*.log
run*.out.log
run*.err.log

# =============================================================================
# Local dev tools (bundled JDK/Maven, etc.)
# =============================================================================
.tools/

# Legacy / Eclipse output
/bin/
