apollo-universal-starter-kit
apollo-universal-starter-kit copied to clipboard
Handling environmental variables
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.