Add backend environment configuration template
This commit is contained in:
30
backend/.env.example
Normal file
30
backend/.env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# Application Settings
|
||||
APP_NAME=Family Hub
|
||||
APP_VERSION=0.1.0
|
||||
DEBUG=True
|
||||
|
||||
# Database
|
||||
DATABASE_URL=sqlite:///./family_hub.db
|
||||
# For PostgreSQL (production):
|
||||
# DATABASE_URL=postgresql://user:password@localhost:5432/family_hub
|
||||
|
||||
# Security
|
||||
SECRET_KEY=your-super-secret-key-change-this-in-production
|
||||
ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
|
||||
# CORS
|
||||
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
|
||||
# Google Calendar API (Optional - configure when needed)
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
GOOGLE_REDIRECT_URI=
|
||||
|
||||
# Mealie Integration (Optional - configure when needed)
|
||||
MEALIE_API_URL=
|
||||
MEALIE_API_TOKEN=
|
||||
|
||||
# Home Assistant Integration (Optional - configure when needed)
|
||||
HOME_ASSISTANT_URL=
|
||||
HOME_ASSISTANT_TOKEN=
|
||||
Reference in New Issue
Block a user