🤾 Scrapes the VDL website for scheduling information
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.
src
.env-example
.gitattributes
.gitignore
LICENSE
README.md
package-lock.json
package.json
worker.js

README.md

vdl-notify

JavaScript Style Guide

Setup

npm install 
npm run start

Create .env

Create .env file and specify the following:

PORT=

SCRAPEURL=

EMAIL_RECEIVE=

MONTEAM=
TUETEAM=
WEDTEAM=
THURTEAM=

ACCOUNT_USER=
ACCOUNT_PASS=
ACCOUNT_EMAIL=
ACCOUNT_NAME=
EMAIL_HOST=
EMAIL_PORT=
EMAIL_SECURE=

DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=

Required

Property Type Description
SCRAPEURL string host url to run endpoint
EMAIL_RECEIVE string email address to send email to
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
DB_HOST string database host url
DB_USER string database user name
DB_PASS string database password
DB_NAME string database name

Optional

Property Type Description
PORT number port number
MONTEAM string Team name for Monday
TUETEAM string Team name for Tuesday
WEDTEAM string Team name for Wednesday
THURTEAM string Team name for Thursday

Heroku

heroku run node worker.js -a 
heroku logs -n 1500 -a