Skip to content

Mokshagna0111 Add core settings file and improve configuration management

Mokshagna pinnani requested to merge added-settings into main

This merge request introduces the settings.py file within the backend/core directory to centralize all application configurations. This refactoring improves the project's maintainability, security, and portability.

The key changes and their benefits are:

  • Centralized Configuration: All application-wide settings, such as API base URLs and tokens, are now managed in a single settings.py file. This eliminates the need to duplicate configuration code across different modules.
  • Improved Security: The file is designed to load sensitive information (API keys, database URL) from the .env file, ensuring that our credentials are never hardcoded and remain secure.
  • Enhanced Maintainability: By creating a core package, we've separated our configuration from our application logic, making the codebase cleaner and easier to read.

Merge request reports

Loading