21 lines
616 B
Bash
21 lines
616 B
Bash
# Application Settings
|
|
PROJECT_NAME="AuthSec FastAPI"
|
|
API_V1_STR="/api"
|
|
PORT=9119
|
|
DEBUG=True
|
|
|
|
# Security
|
|
SECRET_KEY="cns-secret-key-change-this-in-production-authsec"
|
|
ALGORITHM="HS256"
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
|
|
|
# Database Configuration
|
|
# Default is SQLite for zero-setup local development:
|
|
DATABASE_URL="sqlite:///./authsec.db"
|
|
|
|
# Or use MySQL (e.g. for RDS / Local MySQL):
|
|
# DATABASE_URL="mysql+pymysql://cnsdev:cnsdev1234@localhost:3306/authsec"
|
|
|
|
# CORS Allowed Origins (Comma separated or * for all)
|
|
CORS_ORIGINS="http://localhost:4200,http://localhost:3000,http://127.0.0.1:4200,http://localhost:8080,*"
|