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

Add a feature to fetch the environment configuration from a online resource. #13

Open
suthagar23 opened this issue Oct 8, 2020 · 0 comments
Labels
hacktoberfest Hacktoberfest New Feature Requesting new feature

Comments

@suthagar23
Copy link
Member

Draft of the feature configuration :

require('envone').config({ remote: 'http://s3-us-east-1.amazonaws.com/bucket-abc/server-demo/.env.config' })

Requirements :

  1. It should fetch the configuration from the given URL, and avoid the local .env.config file configuration
  2. If fetching the configuration form a remote URL has any issues, it should throw an error.
  3. Existing configuration validation and other flow needs to be the same, and should not change any of that flow.
  4. GET request implementation should be in a new file and de-coupled from the config.js implementation.
@suthagar23 suthagar23 added hacktoberfest Hacktoberfest New Feature Requesting new feature labels Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Hacktoberfest New Feature Requesting new feature
Projects
None yet
Development

No branches or pull requests

1 participant