docs: add README.md and .env.example template
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# MySQL Database Configuration
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER=bookkeep_user
|
||||
MYSQL_PASSWORD=your_mysql_password
|
||||
MYSQL_DATABASE=bookkeep_db
|
||||
|
||||
# Security & JWT Auth
|
||||
SECRET_KEY=generate_a_secure_random_secret_key_here
|
||||
JWT_ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
||||
|
||||
# Client & CORS
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000,http://127.0.0.1:5173
|
||||
|
||||
# Email / SMTP Notifications
|
||||
ADMIN_EMAIL=admin@example.com
|
||||
MAIL_FROM=no-reply@example.com
|
||||
MAIL_FROM_NAME=BookKeepPro Support
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=your_email@example.com
|
||||
SMTP_PASSWORD=your_smtp_app_password
|
||||
SMTP_TLS=True
|
||||
MAIL_SSL_TLS=False
|
||||
|
||||
# Google Drive Storage Integration (Optional)
|
||||
DRIVE_FOLDER_ID=your_drive_folder_id
|
||||
|
||||
# AI & LLM (OpenRouter / Gemini)
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
OCR_TEXT_MODEL=google/gemini-2.0-flash-001
|
||||
OCR_VISION_MODEL=google/gemini-2.0-flash-001
|
||||
OCR_FALLBACK_MODEL=google/gemini-flash-1.5-8b
|
||||
TESSERACT_LANG=eng
|
||||
CHAT_MODEL=google/gemini-2.0-flash-001
|
||||
Reference in New Issue
Block a user