DEV Community

Discussion on: How to deploy React + Node.js application to Heroku

Collapse
 
samx23 profile image
Sami Kalammallah

Will it work if I have .env and add vars manually ? the environtment using REACT_APP_

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan

we don't push .env file to github for security reasons. So you will need to add environment variables through UI for Heroku.

Some comments have been hidden by the post's author - find out more