19 lines
563 B
Plaintext
19 lines
563 B
Plaintext
# Application Config
|
|
APP_NAME="FastAPI TA Alumni"
|
|
DEBUG=True
|
|
API_PREFIX="/api/v1"
|
|
|
|
# Database Connection
|
|
# SQLite (Local Dev Default):
|
|
DATABASE_URL="sqlite:///./ta_database.db"
|
|
# PostgreSQL Example:
|
|
# DATABASE_URL="postgresql://username:password@localhost:5432/dbname"
|
|
# MySQL Example:
|
|
# DATABASE_URL="mysql+pymysql://username:password@localhost:3306/dbname"
|
|
|
|
# Security & JWT Token
|
|
# Generate a secure key: openssl rand -hex 32
|
|
JWT_SECRET_KEY="replace_this_with_a_very_long_random_hex_string_in_production"
|
|
JWT_ALGORITHM="HS256"
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|