GithubHelp home page GithubHelp logo

splitwise_system_design's Introduction

Splitwise System Design:

Detailed Designing of Splitwise System

Use Cases to be covered:

  • User should be able to add expense
  • User should be able to enter the expense he paid for friends and the amount should be split amongst friends.
  • The Splitting of expense is of the following types:
    • Split Equally : This case should handle the edge cases like recurring decimal digits like 100/3 =33.33333...333 in optimised way
    • Split Unequally :
      • User should be able to add the exact amount pertaining to every expense. The sum total of the amounts entered should match the total amount spent by the user.
      • User should be able to have option for percentage wise splitting. The sum total of the percentages should be equal to 100%.
  • Multiple users can pay for an expense.
  • Groups can be created and people can be added to the group.
  • The expenses can be group wise or non-group wise
  • User should be able to see the net balance in the total section and also against each friend.
  • The expenses added should have the details like name, date, image, location, category etc.
  • Settlement of expenses can be of 2 types- Partial and Final Settlement. User should be able to view and manage both
  • User should be able to see all transaction histories.
  • User should be provided with an option to enable Simplify Debt.
    • The Simplify Debt optimises the transaction exchanges. For example, If A owes B $10 and B owes C $10, then A can directly pay C $10.

Non Functional Requirement:

  • System should be available to everyone at all times
  • System should be consistent and show accurate results
  • System should handle heavy request flows since many users can login to the system at same time
  • System should be secure

splitwise_system_design's People

Contributors

sukanya-pai 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.