send-film

0.0.1 • Public • Published

send-film

Delivers a nightly email with a movie you can watch.

Usage

heroku create
heroku addons:add scheduler:standard
heroku addons:add sendgrid:starter
heroku config:set TO=you@youremail.com
git push heroku master

Lastly, setup a recurring task each morning to send you the email. Use heroku scheduler for this. Add the job to look like this:

Task Dyno Size Frequency
node ./task.js 1x Daily

Dev Setup

touch .env

Place the following in your .env file:

SENDGRID_USERNAME=sendgrid_username
SENDGRID_PASSWORD=sendgrid_password
TO=your@email.com

Now you can run:

node ./task.js

Readme

Keywords

none

Package Sidebar

Install

npm i send-film

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • scottmotte
  • motdotla