Giter VIP home page Giter VIP logo

crawlersite.backend's People

Contributors

kimo72 avatar thepisode avatar yordytorres1993 avatar

Watchers

 avatar  avatar

crawlersite.backend's Issues

Pay as you go Strategy

Use this strategy:

  • Check every night who use Pay as you go payment
  • Verify if next billing is tomorrow
  • If is true generate an task for 2 hours before payment
  • Get metrics and calculate cost based on database values
  • Generate an Stripe invoice

Create API to reset password

When a user request a reset password create following strategy:

  • Send an email with unique token (simple token)
  • Load /Home/SetAccount view
  • Send new password to api and token
  • Verify if token is same and verify if not exceed time
  • Change Password
  • Redirect to login view

Refer Friends API

Use next strategy:

  • Read user ReferCode
  • Generate Unique Code
  • Send an email with ReferCode and Unique Code
  • If user signed up generate a discount voucher for new user and referer
  • Use vouchers

EarlyBird strategy

Use next following strategy:

Token Generation:

  • Create a collection of vouchers

  • Generate an unique token based on email

  • Save it

  • Verify if exist email on database

  • if exist set HasInvitationCode to true

Send Token:

  • Find by email
  • Send an email with token

Verify Token:

  • Insert email
  • Check if token is the same as inserted email
  • return true or false

EarlyBird scaling voucher strategy

When a user is EarlyBird use next strategy:

New User:

  • Generate an InvitationCode token
  • Save it

Completed voucher payment:

  • Set HasInvitationCode to true
  • Change InvitationCode token

Change billing strategy

Create a new entity and save users and sites with many to many relationship this is for security and roles

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.