Coder Social home page Coder Social logo

newslettersignup-landingpage's Introduction

Newsletter Signup Landing Page

๐Ÿ“ฐ A landing page for a newsletter signup that uses Node.js, Express.js, HTML, CSS, and Mailchimp services to store the names and emails provided.

Technologies and Tech Stack Used

The project is built using the following technologies:

  • ๐Ÿ–ฅ๏ธ Node.js
  • ๐Ÿš€ Express.js
  • ๐ŸŒ HTML
  • ๐ŸŽจ CSS
  • ๐Ÿต Mailchimp API

Mailchimp Integration

The project uses the Mailchimp API to store the names and email addresses provided by users when signing up for the newsletter. Mailchimp is a leading marketing automation platform that allows businesses to manage and communicate with their subscribers effectively.

The Mailchimp API documentation can be found here. The API key and list ID used in the project are currently configured to work with a testing account provided by Mailchimp. To use your own Mailchimp account, replace the APIKey and ListID variables in the app.js file with your own Mailchimp API key and list ID.

Project Status

The code for this project is fully completed. However, the project is not currently hosted on Heroku as the service is down. It will be hosted once the service is back up and running.

Running the Project Locally

To run this project locally, follow the steps below:

  1. Clone the repository by running the following command in your terminal: git clone https://github.com/HiLakshya/NewsletterSignup-LandingPage.git

  2. Navigate to the project directory: cd NewsletterSignup-LandingPage

  3. Install the required dependencies: npm install

  4. Replace the APIKey and ListID variables in the app.js file with testing variables provided on MailChimp documentation.

  5. Start the server: node app.js

  6. Open your web browser and go to http://localhost:3000/ to view the landing page.

Thank you for your interest in this project. If you have any questions or feedback, please feel free to contact me.

newslettersignup-landingpage's People

Contributors

hilakshya avatar

Watchers

 avatar

newslettersignup-landingpage's Issues

Dotenv module throwing error when trying to hide environment variables

I tried to use the dotenv module to hide my Mailchimp API key and list ID in the app.js file. However, when I start the server, I get the following error:

`Server started on port 3000
{
type: 'https://mailchimp.com/developer/marketing/docs/errors/',
title: 'Forbidden',
status: 403,
detail: The API key provided is linked to datacenter 'us8";',
instance: 'a87b8667-9649-1c30-9a1b-f78b93710a5b'
}`

It seems that the dotenv module is not properly hiding my environment variables.
I have tried the solution mentioned in this Stack Overflow post (https://stackoverflow.com/questions/41793924/mailchimp-the-api-key-provided-is-linked-to-a-different-datacenter), but it does not work.

Can someone please help me resolve this issue and successfully hide my API key and List ID using dotenv?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.