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

Implementing Environment Separation Mechanism in ExpressoTS (.local and .prod) #236

Open
rsaz opened this issue Apr 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rsaz
Copy link
Member

rsaz commented Apr 2, 2024

Description

Create mechanism separating and managing environment-specific configurations across local development, and production (.prod) environments. With recent versions of Node.js enhancing support for .env files, it is now feasible to integrate a native approach to handle environment variables efficiently. This initiative aims to ensure secure, clear, and convenient configuration management that supports the framework's scalability and security needs.

Requirements

  • Outline a clear strategy for structuring .env files and their corresponding environments (.local, .prod).
  • Implement a secure method for storing sensitive configurations, ensuring they are not exposed in version control.
  • Develop a mechanism to automatically detect the current environment and load the corresponding .env file without manual intervention.
  • Ensure compatibility across different operating systems and development environments.
  • Utilize the latest Node.js features for environment variable management to ensure optimal performance and compatibility.
@rsaz rsaz added the enhancement New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant