Git Product home page Git Product logo

day-by-day's Introduction

Daily journaling service.

day-by-day's People

Contributors

scwood avatar

Watchers

James Cloos avatar  avatar  avatar

day-by-day's Issues

Implement "forgot my password" flow

(1) Generate JWT
(2) Send JWT in email
(3) On click send to webapp with token as query paramater
(4) Make request to server to change the password

Build UI for writing entry

Thoughts:

  • Right when they login, they're sent to the editing page for today list of previous entries
  • If they already have a post for that day it will be there
  • Otherwise it's blank
  • If they wrote a post online before the email scheduler reminded them, they wouldn't get an email

Sign up token can be used as authorization token

The API only looks to see that there's an email key with a value in the token.

Possible solution: add 'type' key to the different tokens i.e. 'type: emailConfirm', 'type: authorization', etc.

Implement sending automatic emails to users

Thoughts:

(1) Each user has a cron string attached to their profile
(2) On app launch use node scheduler and add scheduled jobs using emails as the ids: i.e. '[email protected]': '0 7 * * *'
(3) If a user updates their profile with a different desired frequency, grab the scheduled job by email and delete the job, then schedule the new one

Add eslint

  • Airbnb config
  • Automated running on nodemon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.