This is a newsletter signup page that utilizes mailchimp to subscribe the users to the newsletter and store their name and emails. There is no newsletter attached it is just a sign up form. At this time it directs to a success page if the subscriber is new and uses a real email. If the email seems fake or the user is already subscribe at this time it will go to the same fail page.
- Deployment: https://royal-donair-54847.onrender.com
Install all the dependencies of this project by using the package.json. For this project you will need to have mailchimp developer account set that up beforehand.
-
Download and install the LTS version of Node.js. In this project nvm was used for the installing of a node version.
-
Create mailchimp developer account.
-
Install the project requirements
npm install
-
Create a
env
file based on the.env.sample
file and changeapiKey
,listId
,serverPrefix
to your specific settings to connect to mailchimp. -
Run the app
node app.js
This project was originally deployed with Heroku. While it still could have been deployed there with the removal of their free tier it was moved to Render. Typically deployment of an Express app would follow the process listed here, but this was a migration following the steps here. The migration process was also very straight forward and while you will most likely follow typical deployment just incase there is something you would like to migrate to Render yourself.
See the LICENSE file for license rights and limitations (MIT).