vanshajg / vs-node-blog

sample node blog to demonstrate CRUD operations
0 stars 0 forks source link

.env configuration file work flow based on environment selected #2

Open shreyas-s opened 5 years ago

shreyas-s commented 5 years ago

we need to check how to work with .env config file when there are multiple environments (test, dev , prod )that can be used.

vanshajg commented 5 years ago

@shreyas-s can you explain why we need .env file to be in public ? That file is ONLY for storing API keys/ other private info right ? blog

shreyas-s commented 5 years ago

@vansh37 , if you remember i informed you at initial commit we will be pushing this later we will remove going further as we needed to understand how to manage structure inside .env file. Later when we will have private keys like API related information we will not make it public & add it in gitignore file.