Refactoring code for modular approach

This commit is contained in:
2025-09-09 23:03:08 +02:00
parent 8fbe64687a
commit 1fc8810242
11 changed files with 74 additions and 84 deletions

9
.env
View File

@@ -1,4 +1,9 @@
# .env.example
PROJECT_NAME: str = "Ecommerce Backend API with Marketplace Support"
DESCRIPTION: str = "Advanced product management system with JWT authentication"
VERSION: str = "0.0.1"
# Database Configuration
# DATABASE_URL=postgresql://username:password@localhost:5432/ecommerce_db
# For development, you can use SQLite:
@@ -16,8 +21,8 @@ DEBUG=False
# Rate Limiting
RATE_LIMIT_ENABLED=True
DEFAULT_RATE_LIMIT=100
DEFAULT_WINDOW_SECONDS=3600
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=3600
# Logging
LOG_LEVEL=INFO