Skip to content

caike/budget-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Budget

Demo app that reads a csv file found under the lib folder, reads its rows and sorts the transactions by their amount in ascending order.

The original CSV file looks like this:

AcctNum,TranDate,Description,Amount
4002617,01/01/2017,Rent,-1000.00
4002617,01/03/2017,Netflix,-9.99
4002617,01/03/2017,Credit Card,-538.00
4002617,01/04/2017,Car Payment,-320.01
4002617,01/04/2017,Publix,-53.39

And the output should look like this:

Transactions:
01/03/2017 Netflix $9.99
01/04/2017 Publix $53.39
01/04/2017 Car Payment $320.01
01/03/2017 Credit Card $538.00
01/01/2017 Rent $1000.00

Running

Run mix. The default task ("list_from_csv") should be run automatically.

About

Elixir demo app

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages