adding base project

This commit is contained in:
Azmat-7860
2026-10-25 23:11:19 +05:30
commit 5993c15b70
23 changed files with 1297 additions and 0 deletions
+20
View File
@@ -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,*"