Skip to content

vinayverghese/SimplifyLedger

Repository files navigation

SIMPLIFY LEDGER

This is a Ruby on Rails app. In order to run it locally, you must have the latest version of ruby installed. It also requires bundler and npm or yarn.

This article goes over the steps required to run it locally.

APPLICATION

The application will be available locally here: http://localhost:3000/

The deployed version is available here: https://simplify-ledger-06aefb87ee3d.herokuapp.com/

INSTRUCTIONS

  1. Go to https://simplify-ledger-06aefb87ee3d.herokuapp.com/
  2. Upload a single json file with a list of transactions and click on 'Upload JSON File'
  3. The transactions will be parsed and shown in a table.

CONSIDERATIONS MADE

  • The json file that is accepted in the prescribed format will be parsed and the following operations will be made:
    • Any duplicate activity IDs will be ignored. Based on the sample data, any transactions with duplicate IDs contained identical data inside it.
    • The total balance is calculated and stored for the sake of auditing. For the main application, the final balance is used since it is accurate.
    • Description field: Combining the type and description of source and destination, a custom description is provided.

TECHNICAL CONSIDERATIONS

  • A database has not been used here, since there was no need to store any data. However, it can be incorporated if required.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published