Refactor environment-specific configurations and data loading.
Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates.
... | ... | @@ -14,4 +14,5 @@ httpx~=0.24.1 |
pydantic[email] | ||
mysqlclient~=2.1.1 | ||
python-multipart~=0.0.6 | ||
uvicorn==0.23.1 | ||
\ No newline at end of file | ||
uvicorn==0.23.1 | ||
python-dotenv | ||
\ No newline at end of file |
Please register or sign in to comment