SwapStation_WebApp/backend/.env

17 lines
692 B
Bash

# --- Flask Application Settings ---
# This is a secret key used by Flask for session management.
# You can generate a new one with: python -c 'import os; print(os.urandom(24).hex())'
SECRET_KEY="80473e17c5707e19252ef3736fba32805be21a9b3e914190"
# --- PostgreSQL Database Connection ---
# Replace with your actual database credentials.
# Format: postgresql://<user>:<password>@<host>:<port>/<dbname>
# DATABASE_URL="postgresql://swap_app_user:2004@localhost:5432/swap_station_db"
DATABASE_URL="postgresql://swap_app_user:Vec%40123@localhost:5432/swap_station_db"
# --- MQTT Broker Connection ---
MQTT_BROKER="mqtt-dev.upgrid.in"
MQTT_PORT="1883"
MQTT_USER="guest"
MQTT_PASSWORD="password"