https://github.com/eulixir/asset-tracker
https://github.com/eulixir/asset-tracker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eulixir/asset-tracker
- Owner: eulixir
- Created: 2023-10-01T16:19:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T04:36:51.000Z (over 2 years ago)
- Last Synced: 2025-03-02T21:43:42.103Z (over 1 year ago)
- Language: Elixir
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
git clone https://github.com/eulixir/asset-tracker
```
Go to the project directory
```bash
cd asset-tracker
```
## Install dependencies
```bash
mix deps.get
```
## Run tests
```bash
mix test
```