Giter VIP home page Giter VIP logo

otp's People

Watchers

 avatar  avatar

otp's Issues

Potential race condition

When send the request and saving the correlation id there could be a chance where the response from the provider happens first before it (entity + correlationId) get saved to the database

Add SMS & Email quantity metric

Should include the ff:

  • SMS usage that month

  • Email usage that month

  • Sent today vs sent yesterday

  • Success rate and fail/cancel rate

  • Top app usage - referrer

Consider using a speicification to reuse the db query logic.

Create a free plan for user

Couple of things to consider

  • Refreshing the claim or place the plan in the current endpoint
    • If placed in the current, this would have to be called every time which might not be ideal
  • Hard cap on the amount they can send. We need to validate their plan and how many they've used already.

Possible duplication of hashed api key

We need to make sure that api key is unique or else we end up in a state where request can come from a different app.

  • Run the key generation multiple times until it is unique
  • Use GUID then converted into a byte to have a high entropy

Add a usage api

Add usage api

  • Show all the otp reqeust. Collapsed to show the attempts and where it was used
  • Similar to devops progress

Refactor query and command file name

Files are getting too long.

We can keep the top level command folder to keep the validators away from the handler but remove the query and command words.

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.