adding base project
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# 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,*"
|
||||
Reference in New Issue
Block a user