apollo-universal-starter-kit icon indicating copy to clipboard operation
apollo-universal-starter-kit copied to clipboard

Handling environmental variables

Open AndSviat opened this issue 6 years ago • 0 comments

Describe the bug The .env files are committed to Git.

To Reproduce none

Expected behavior The .env files must be added to .gitignore.

Additional context Because starter kit users may forget to add .env to .gitignore, they may also unintentionally commit the API keys and other important data to the public repository.

The starter kit should have a .env.default file next to each .env file. The .env.default files will be committed to Git, and they will contain all the variables (without actual values) that developers must add to make the application work.

AndSviat avatar Oct 31 '18 14:10 AndSviat