From 0f485c8ed8fe07096e0cfe7bb7b723e9ddcd5439 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Thu, 18 Dec 2025 16:34:09 +1100 Subject: [PATCH] Add backend environment configuration template --- backend/.env.example | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..76ba4d6 --- /dev/null +++ b/backend/.env.example @@ -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=