By default, this template comes with one predefined environment variable called BACKEND_ENDPOINT. This variable can be used in the ReactJS application with window.env.BACKEND_ENDPOINT.
You can also add more custom environment variables by following the steps below. In this example we will add a new variable called MyCustomVar.
You can repeat the same process for additional environment variables.