Giter Club home page Giter Club logo

news2inbox's Introduction

News to inbox (news2inbox)

Fully configurable news subscribe widget, send headlines from different countries and categories to your mail inbox everyday at the time you appointed.

Beta version each user account can only subscribe to one country with two categories.

TODO

Backend

✅ Design schema for user and subscribe tables

✅ Api endpoints for authentication (JWT)

✅ Api for create/remove/update/get subscribe

✅ Prepare email template for auth(email-templates)

🎯 Prepare email template for news(email-templates)

✅ Fetch news service api

🎯 Timer function to call fetch news service and render in the email template

🎯 Add rate limit

🎯 Log system to track sent emails

Frontend

🎯 UI to register/login/forgot/reset password

🎯 UI for subscribe manipulation

Part of Techniques Explain

Reset password flow with JWT

  1. The application will display a form that accepts the user’s email address.
  2. It will handle the form’s POST with the user’s email address.
  3. This will create a link, with a JWT token embedded in the URL. The user will click this link and be allowed to reset their password.
  4. The application will create a password-reset page. This page will require the token and will decode it to ensure it is valid.
  5. If successful, a form will be displayed allowing the user to reset their password.
  6. The application will handle the form’s POST with the user’s new password.
  7. This page will also decode and validate the token before saving the new password.

reset password flow

news2inbox's People

Contributors

stevenziu avatar

Watchers

 avatar

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.