bartzalewski / bartzalewski.com-v2-mail

Mail API to make your Contact Form work using my Portfolio!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bartzalewski.com-v2-mail

Mail API to make your Contact Form work using my Portfolio!

How to make it work?

  1. Download this (make it private repo)

  2. cd bartzalewski.com-v2-mail

  3. npm install

  4. Edit index.js:

  • Add your host
  • Add your email & password
  1. Host it for example on Heroku

  2. Copy its link, go to Portfolio dir, and edit the "url" (bartzalewski.com-v2/src/components/contact.js):

axios({
      method: "POST",
      url: "your-link.com/send",
      data: {
        name: name,
        email: email,
        message: message,
      },
    })
  1. Congratulations, your Contact Form sends you emails!

Follow me!

WebsiteInstagramYouTube

About

Mail API to make your Contact Form work using my Portfolio!


Languages

Language:JavaScript 100.0%