Coders-Living-Instant-Work-Journal / coders-living-instant-journal-client

A CLI based work journal, allowing coders to take quick notes from the terminal, and automatically sending scheduled e-mails containing notes from the configured time period.
MIT License
0 stars 0 forks source link

Email settings #73

Closed tylersayvetz closed 4 years ago

tylersayvetz commented 4 years ago

APP STILL EXPECTS SERVER TO BE RUNNING ON locahost:3000. Fix before merging to master

Features

User will be prompted for their email, a category, and a number of days of entries.

An email containing all entries in that journal that match the specified filters will be dispatched to the email address they provided! Yay!

Menu Item

 CHANGE JOURNAL NAME 
  ──────────────
  MAKE DEFAULT 
  ──────────────
❯ SEND EMAIL NOW 
  ──────────────
  DELETE JOURNAL 

Prompts

? What would you like to do? SEND EMAIL NOW
journal { entryIds: [ '5e979c388012cc0d2212940e', '5e979c438012cc0d2212940f' ],
  _id: '5e979c1e8012cc0d2212940d',
  name: 'Life journal',
  userId: '5e94f7218d6bf5a8ec26b23e',
  __v: 0 }
? Email to send to? example@me.com
? Which category to send? fun
? How many days back? 9

Start menu:

This option will open the web app.

Possible stretch goal includes automatically signing them in and routing them to their email settings page in the browser, upon selecting this option.

? What would you like to do? 
  ──────────────
  LIST JOURNALS 
  ──────────────
❯ EMAIL SETTINGS 
  ──────────────
  SIGN OUT 
  ──────────────