How to pass environment variable to Create React App (CRA) ?
The TLDR Answer: You need to start the variable name with REACT_APP_ . From the official documentation, you can read more [https://create-react-app.dev/docs/adding-custom-environment-variables/]. > Your project can consume variables declared in your environment as if they were declared locally in your JS files. By default you will have