eulixir / asset-tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asset Tracker

At our startup, we are developing an accounting system to track asset lots based on the settle date and update the inventory with a First-In-First-Out (FIFO) procedure. The system should also track the capital gains or losses whenever the assets are sold. This exercise will test your ability to understand and solve complex accounting-related problems using the functional paradigm.

Use Cases

  • Track asset purchases with a settle date and quantity.
  • Track asset sales with a sell date and quantity.
  • Update the asset inventory using a FIFO procedure.
  • Calculate the capital gains or losses for each sale.

Run Locally

Clone the project

  git clone https://github.com/eulixir/asset-tracker

Go to the project directory

  cd asset-tracker

Install dependencies

  mix deps.get

Run tests

  mix test

About


Languages

Language:Elixir 100.0%