what is the idea behind …

less than 1 minute read

what is the idea behind the environments folder in most of the templates? do most people follow the same patterns, ie adding all the passed variables from process.env in there, and what about importing the env variables in other libraries, some kind of context container on the app?

Responses:

What type of project, the answer might differ based on the project type.

graphql server, like something that would be in the environment is configuration to connect to an internal gateway

this would probably be passed down through vault annotations in kubernetes

usually I’d create a configuration container and pass it on through context, but trying to understand what’;s the idea behind the environment folder

maybe there’s a new pattern that i don’t know about

Updated: