# Dependencies
node_modules/
maternal-app/node_modules/
maternal-app-backend/node_modules/
maternal-web/node_modules/

# Environment variables
.env
.env.local
.env.development
.env.production
maternal-app/.env
maternal-app-backend/.env
maternal-web/.env

# Build outputs
dist/
build/
maternal-app/dist/
maternal-app-backend/dist/
maternal-web/.next/
maternal-web/out/

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

# OS
.DS_Store
Thumbs.db
*.pid

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

# Expo
maternal-app/.expo/
maternal-app/.expo-shared/

# Database
*.sqlite
*.sqlite3

# Database backups
backups/
*.sql
*.sql.gz
*.dump
*.backup

# Docker volumes
postgres_data/
redis_data/
mongodb_data/
minio_data/

# Testing
coverage/
.nyc_output/

# TypeScript
*.tsbuildinfo

# React Native
maternal-app/android/
maternal-app/ios/
!maternal-app/android/.gitkeep
!maternal-app/ios/.gitkeep

# Caches
.cache/
.turbo/
.parcel-cache/
.npm/
.eslintcache

# Next.js specific
maternal-web/.next/
maternal-web/out/
maternal-web/.cache/

# Package manager lock files (optional - uncomment if you want to ignore)
# package-lock.json
# yarn.lock
# pnpm-lock.yaml

# Documentation and planning (development only)
docs/
CLAUDE.md
*_IMPLEMENTATION_STATUS.md
DATABASE_SCHEMA_SYNC.md
DATABASE_SYNC_SUMMARY.txt
PROGRESS.md
PRODUCTION_DEPLOYMENT.md
PRODUCTION_INSTALLATION.md
TESTING.md
PACKAGE_UPGRADE_PLAN.md
**/docs/*.md
!README.md

# Development scripts and logs
start-dev.sh
stop-dev.sh
deploy-production.sh
migrate-production.sh
start-production.sh
stop-production.sh
*.dev.log
/tmp/*.log

# Development environment
.dev/
dev-data/
temp/
**/temp/

# Temporary development files
*.tmp
*.temp
.scratch/

# Test files and examples
test-*.js
test-*.ts
test-*.mjs
example-queries.gql
**/scripts/test-*.sh
**/scripts/test-*.mjs
**/scripts/test-*.ts
