adding config file
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user