changes of db config add .env file and rename of ex_formate.html to file_formate.html

This commit is contained in:
2026-01-10 13:05:13 +05:30
parent 54f3d16b57
commit 5afe8e7096
7 changed files with 126 additions and 19 deletions

31
.env Normal file
View File

@@ -0,0 +1,31 @@
# -----------------------------
# Flask App Configuration
# -----------------------------
FLASK_ENV=development
FLASK_DEBUG=True
FLASK_HOST=127.0.0.1
FLASK_PORT=5001
# -----------------------------
# Security
# -----------------------------
SECRET_KEY=change-this-to-strong-secret-key
# -----------------------------
# Database Configuration
# -----------------------------
DB_DIALECT=mysql
DB_DRIVER=pymysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=comparisondb
DB_USER=root
DB_PASSWORD=root
# DATABASE_URL=mysql+pymysql://root:root@localhost/comparisondb