Aryan6290 / Splitwise-LLD-Typescript

Splitwise App made with Nodejs and Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splitwise-LLD-Typescript

Splitwise App made with Nodejs and Typescript

Steps to Run

  1. Run npm i to install packages
  2. Use npm run dev to start the server

You can do the following commands in the splitwise app:

  1. EXPENSE - This is of three types - EQUAL, EXACT, PERCENTAGE

E.g. for EQUAL payments --- EXPENSE 1 1000 EQUAL 2,3,4 For EXACT/PERCENTAGE --- EXPENSE 1 1000 EXACT 2,3,4 200,100,500

  1. SHOW --- Will show you the balance for each user

  2. SIMPLIFY --- Will show you how much each user owes or is in debt.

Things to do:

  1. Write tests
  2. Complete Simplify function
  3. Refactor code using DRY,SOLID and KISS principles

About

Splitwise App made with Nodejs and Typescript


Languages

Language:TypeScript 100.0%