IgrPhillipe / nodemailer

This repository was created to demonstrate how to use nodemailer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository was created to demonstrate how to use nodemailer.

Getting started

To clone and run this application, you'll need Git and Node.js installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/IgrPhillipe/nodemailer.git

#Go into the server
cd nodemailer/server

Before starting the server you need to create a dotenv file and add the following information:

EMAIL=<your email>
PASSWORD=<your password>

Now you:

# Install dependencies
yarn install

# Run the server
node index.js

# Open another terminal and go into the client
cd nodemailer/client

# Install dependencies
yarn install

# Run the client
yarn start

Now you can go to http://localhost:3000/ fill out the form, submit and check if you received the email.

About

This repository was created to demonstrate how to use nodemailer.


Languages

Language:JavaScript 72.7%Language:CSS 21.2%Language:HTML 6.0%