Refactor configuration and security features for improved development experience
- Updated the .env.example file to reflect a development environment setup with enhanced secret key requirements and local host settings. - Modified the Docker Compose configuration to enhance security with read-only settings and no-new-privileges options. - Updated requirements.txt to pin package versions for better dependency management. - Enhanced the FastAPI application to include dynamic OpenAPI and documentation URLs based on the environment. - Implemented session versioning in JWT tokens to improve security and user session management. - Added new validation for user roles and password strength in schemas. - Improved email sending logic to handle recipient lists more robustly and added logging for SMTP operations. - Updated dashboard and profile templates to reflect new features and improve user experience.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
jinja2
|
||||
sqlalchemy
|
||||
alembic
|
||||
python-multipart
|
||||
httpx
|
||||
bcrypt
|
||||
python-jose[cryptography]
|
||||
pydantic-settings
|
||||
email-validator
|
||||
psycopg[binary]
|
||||
fastapi==0.115.6
|
||||
uvicorn[standard]==0.32.1
|
||||
jinja2==3.1.4
|
||||
sqlalchemy==2.0.36
|
||||
alembic==1.14.0
|
||||
python-multipart==0.0.20
|
||||
httpx==0.28.1
|
||||
bcrypt==4.2.1
|
||||
python-jose[cryptography]==3.3.0
|
||||
pydantic-settings==2.6.1
|
||||
email-validator==2.2.0
|
||||
psycopg[binary]==3.2.13
|
||||
cryptography==44.0.0
|
||||
|
||||
Reference in New Issue
Block a user