- Replace events+expenses with flat purchases table - Add warranty_months, return_days, product_name fields - Remove currency conversion, CSV/PDF reporting, event filing - Simplify auth (no onboarding/department/profile) - Update AI extraction prompts for product/warranty info - Update all branding: templates, install.sh, Makefile, service file
26 lines
715 B
Text
26 lines
715 B
Text
# NextReceipt Configuration
|
|
# Copy this file to .env and fill in your credentials.
|
|
# Run `bash install.sh` for interactive setup.
|
|
|
|
# --- AI Provider ---
|
|
# Choose one: gemini (default), openai
|
|
AI_PROVIDER=gemini
|
|
|
|
# For AI_PROVIDER=gemini:
|
|
# GEMINI_API_KEY=your-gemini-api-key
|
|
|
|
# For AI_PROVIDER=openai (also works with Ollama, LocalAI, etc.):
|
|
# OPENAI_API_KEY=sk-...
|
|
# AI_MODEL=gpt-4o-mini
|
|
# AI_BASE_URL=https://api.openai.com/v1
|
|
# For Ollama: AI_BASE_URL=http://localhost:11434, AI_MODEL=glm-ocr
|
|
|
|
# --- SMTP (optional — needed for OTP emails) ---
|
|
# SMTP_HOST=smtp.example.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USER=your-email@example.com
|
|
# SMTP_PASS=your-password
|
|
|
|
# --- General ---
|
|
PORT=8080
|
|
BASE_URL=http://localhost:8080
|