DEV Community

Discussion on: How To Deploy a Full-Stack MERN App with Heroku/Netlify

Collapse
 
rachelombok profile image
Rachel Ombok

Hi! What should I do if the .env files dont work when deploying the server? The variables arent loading in. Should I not add the .env to the gitignore? I'm not sure what to do