Files
authsec_firstAPI/.env
T

24 lines
681 B
Bash
Raw Normal View History

2026-10-27 12:19:13 +05:30
PROJECT_NAME="AuthSec FastAPI"
API_V1_STR="/api"
PORT=9119
DEBUG=True
SECRET_KEY="cns-secret-key-change-this-in-production-authsec"
ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# MySQL Database Configuration
DATABASE_URL="mysql+pymysql://cnsdev:cnsdev7304@157.66.191.31:3306/sfgsf"
# SQLite Alternative (uncomment to switch back):
# DATABASE_URL="sqlite:///./authsec.db"
CORS_ORIGINS="http://localhost:4200,http://localhost:3000,http://127.0.0.1:4200,http://localhost:8080,*"
# SMTP Email Configuration
SMTP_HOST="smtp.gmail.com"
SMTP_PORT=587
SMTP_USER="realitconnect@gmail.com"
SMTP_PASSWORD="tysnukjdimsneiyv"
SMTP_TLS=True
EMAILS_FROM_EMAIL="realitconnect@gmail.com"