DEV Community

Discussion on: Setting up a news letter with React and mailchimp

Collapse
 
raphaelpinel profile image
Raphaël Pinel

You need to put the .env file in the root folder, not in src and restart your server. Also the dotenv package is not needed anymore, it should work out of the box.
The .env file can contain multiple variables