Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 2.26 KB

README.md

File metadata and controls

97 lines (73 loc) · 2.26 KB

Mass Mailer

Build Status Known Vulnerabilities dependencies Status

codecov tested with jest Cypress.io tests JavaScript Style Guide

Demo

Go to https://www.patricklin.ca/massmailer

Login at https://ethereal.email/login to see your sent email

User: [email protected]
Password: G4JuNukpvQXb7asENq

Quick Overview

git clone
npm install

Local Dev

Frontend:
npm run start-react

Fullstack:
npm run build-react 
npm start

Electron: (Electron Branch)
npm run build-react 
npm run build 
npm run start-electron

Production

Fullstack (Minified):
npm run build-react
npm run build

Electron: (Electron Branch)
npm run build-react 
npm run build 
npm run package-mac

Testing

Jest:
npm run test

Cypress:
npm run build-react 
npm start

In a new terminal run: 
npm run cypress-open

Setup SMTP server

Create .env

Create .env file and specify the following:

ACCOUNT_USER=
ACCOUNT_PASS=
ACCOUNT_EMAIL=
ACCOUNT_NAME=
EMAIL_HOST=
EMAIL_PORT=
EMAIL_SECURE=
Property Type Description
ACCOUNT_USER string account login username
ACCOUNT_PASS string account login password
ACCOUNT_EMAIL string account email
ACCOUNT_NAME string user's full name
EMAIL_HOST string host server
EMAIL_PORT number port number
EMAIL_SECURE bool specify false. if EMAIL_PORT = 465, specify true