Add comprehensive .gitignore

This commit is contained in:
2025-10-01 19:01:52 +00:00
commit f3ff07c0ef
254 changed files with 88254 additions and 0 deletions

73
.env.example Normal file
View File

@@ -0,0 +1,73 @@
# Backend API Configuration
API_PORT=3000
API_URL=http://localhost:3000
NODE_ENV=development
# Database Configuration
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=maternal_app
DATABASE_USER=maternal_user
DATABASE_PASSWORD=maternal_dev_password_2024
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
# MongoDB Configuration
MONGODB_URI=mongodb://maternal_admin:maternal_mongo_password_2024@localhost:27017/maternal_ai_chat?authSource=admin
# MinIO Configuration
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_ACCESS_KEY=maternal_minio_admin
MINIO_SECRET_KEY=maternal_minio_password_2024
MINIO_BUCKET=maternal-files
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production
JWT_EXPIRATION=1h
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production
JWT_REFRESH_EXPIRATION=7d
# AI Services Configuration (OpenAI)
OPENAI_API_KEY=sk-your-openai-api-key-here
OPENAI_MODEL=gpt-4-turbo-preview
OPENAI_MAX_TOKENS=1000
# AI Services Configuration (Anthropic Claude)
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
ANTHROPIC_MODEL=claude-3-sonnet-20240229
# AI Services Configuration (Google Gemini)
GOOGLE_AI_API_KEY=your-google-ai-api-key-here
# Whisper API (Voice Recognition)
WHISPER_API_KEY=your-whisper-api-key-here
# Firebase Cloud Messaging
FCM_SERVER_KEY=your-fcm-server-key-here
FCM_SENDER_ID=your-fcm-sender-id-here
# Rate Limiting
RATE_LIMIT_TTL=60
RATE_LIMIT_MAX=100
# CORS Configuration
CORS_ORIGIN=http://localhost:19000,exp://localhost:19000
# Email Configuration (Optional - for email verification)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
# Sentry Error Tracking (Optional)
SENTRY_DSN=your-sentry-dsn-here
# Analytics (Optional)
POSTHOG_API_KEY=your-posthog-api-key-here
# App Configuration
APP_NAME=Maternal App
APP_VERSION=1.0.0