paint-brush
Setting up a Serverless Contact form in React — using Nodemailer and Expressby@gmrsagar
29,577 reads
29,577 reads

Setting up a Serverless Contact form in React — using Nodemailer and Express

by Sagar Ghimire4mJanuary 22nd, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Using Nodemailer and Express, we will set up our own contact form in React. This post will also walk us through deploying it serverless with Zeit Now. By the end of this tutorial, you will have a contact form on your website that will bring the message straight to your inbox. The form itself has an onSubmit function which handles our API calls. We will look at a component that returns an HTML form. We’re using Bootstrap classes for style in the code below, so they are optional.

Company Mentioned

Mention Thumbnail
featured image - Setting up a Serverless Contact form in React — using Nodemailer and Express
Sagar Ghimire HackerNoon profile picture
Sagar Ghimire

Sagar Ghimire

@gmrsagar

Software Engineer | Linux Enthusiast

About @gmrsagar
LEARN MORE ABOUT @GMRSAGAR'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sagar Ghimire HackerNoon profile picture
Sagar Ghimire@gmrsagar
Software Engineer | Linux Enthusiast

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Buzzsumo
Coffee-web
Freefoto
Aspiranettoyage
Com