Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Integration of ConfigModule and ConfigService for Environment Variables in NestJS #23

Open
shravan20 opened this issue Jan 31, 2024 · 0 comments
Labels
approved-by-team backend community enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@shravan20
Copy link
Owner

Feature Description

As an avid user of NestJS, I find the need for a streamlined and standardized way to manage environment variables in the applications. Configuring environment variables is a common task in any application, and having a dedicated module and service for this purpose would greatly enhance the development experience.

Use Case

The proposed ConfigModule and ConfigService would be beneficial in scenarios where developers need a centralized and efficient way to manage and access environment variables across different modules and components in a NestJS application. This is particularly useful when dealing with configuration settings for databases, API keys, and other environment-specific parameters.

Proposed Solution

The ConfigModule can be designed to provide a simple and flexible solution for loading and accessing environment variables. It could offer a declarative way of defining configuration options, allowing for easy integration and management within the existing NestJS module system. The ConfigService would then act as the interface for retrieving these configuration values throughout the application.

Dependencies

They are already added as part of the api/setup

Additional Context

This feature is essential for enhancing the maintainability and scalability of applications, especially those requiring configuration adjustments in different environments. By providing a standardized way of handling environment variables, developers can focus more on business logic and less on the intricacies of configuration management.

@shravan20 shravan20 changed the title [feat] Integration of ConfigModule and ConfigService for Environment Variables in NestJS Feature Request: Integration of ConfigModule and ConfigService for Environment Variables in NestJS Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-by-team backend community enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant