An application to send mass emails via aliases, used internally by the LFS Learning Centre.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cypress
public
server
src
test
.env-example
.gitignore
.travis.yml
LICENSE
README.md
cypress.json
package.json

README.md

Mass Mailer

Build Status Known Vulnerabilities dependencies Status

codecov tested with jest Cypress.io tests JavaScript Style Guide

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