# ========================================================= # AI Notes App - Environment Configuration Example # Copy this file to ".env" and fill in real values. # NEVER commit your real .env file to version control. # ========================================================= # ---- Application ---- APP_NAME="AI Notes App" APP_ENV=development DEBUG=true SECRET_KEY=change-this-to-a-long-random-string # ---- Database ---- # SQLite (default, zero-config) DATABASE_URL=sqlite:///./notes.db # PostgreSQL (uncomment and configure to switch) # DATABASE_URL=postgresql+psycopg2://notes_user:notes_password@localhost:5432/ai_notes_db # ---- OpenAI ---- OPENAI_API_KEY=sk-your-openai-api-key-here OPENAI_MODEL=gpt-4.1-mini # ---- CORS ---- CORS_ORIGINS=http://localhost:8000,http://127.0.0.1:8000 # ---- Rate Limiting ---- RATE_LIMIT_PER_MINUTE=60 # ---- Logging ---- LOG_LEVEL=INFO