The DEFAULT_DATABASE_RESOLVER_ADDRESS is currently hard-coded within the application. For better configuration management and security, it is necessary to move this setting to the .env file.
Additionally, validations should be added to ensure that environment variables are correctly set.
Describe Preferred Solution
Define DEFAULT_DATABASE_RESOLVER_ADDRESS on .env file
Refactor Request
Describe the Refactor Request
The DEFAULT_DATABASE_RESOLVER_ADDRESS is currently hard-coded within the application. For better configuration management and security, it is necessary to move this setting to the .env file.
Additionally, validations should be added to ensure that environment variables are correctly set.
Describe Preferred Solution
Define DEFAULT_DATABASE_RESOLVER_ADDRESS on .env file
Related Code
constants.ts file
const DEFAULT_DATABASE_RESOLVER_ADDRESS =