Téléverser les fichiers vers "/"

This commit is contained in:
2026-05-28 13:18:39 +00:00
commit ecef33e0ba
5 changed files with 114 additions and 0 deletions

17
config.py Normal file
View File

@@ -0,0 +1,17 @@
import os
class Config:
#Configuration base de données
MYSQL_HOST = 'localhost'
MYSQL_USER = 'smarthome_user'
MYSQL_PASSWORD = 'motdepasse123'
MYSQL_DB = 'smarthome'
#Configuration JWT
JWT_SECRET_KEY = 'smarthome_secret_key_2024'
#Configuration MQTT
MQTT_BROKER = 'localhost'
MQTT_PORT = 1883
MQTT_TOPIC_CLIMATE = 'smarthome/climate'
MQTT_TOPIC_SECURITY = 'smarthome/security'