darkmsph1t / _spartan

npm project to package & configure common security middleware && add security.js file to code repo
5 stars 0 forks source link

generate .env file as part of boilerplate build #98

Open darkmsph1t opened 5 years ago

darkmsph1t commented 5 years ago

Is your feature request related to a problem? Please describe. Many of _spartan's features rely on the use of environment variables held in a .env file. Today, users have to create and populate this file on their own. If this isn't done, and the 'secrets' module is enabled, _spartan will fail for any additional modules which rely on this to fetch secrets

Describe the solution you'd like Create a .env file as part of the boilerplate generation process

Why does this feature belong in _spartan? _spartan relies on this file to fetch environment variables.

Describe alternatives you've considered N/A => a related issue will be created to give users a path to fetch secrets/environment variables without the need for this file

Additional context Add any other context or screenshots about the feature request here.