Giter Club home page Giter Club logo

nodejscsv's Introduction

NodejsCSV

A comma separated value CLI app
NodeJs

How to install

Clone the repo

Open 'terminal/cmd'

cd into the repo while on the 'terminal/cmd'

run node app.js

LICENSE

License: MIT

The goal is to get you to build a very small self-contained "real world" application to show off your skills at production quality code! You can write it in any language (though we'd prefer NodeJS, more details below) and it should only take an hour or two.

The Scenario The client periodically generates a large CSV file containing a list of monetary debts, which they manually summarize and turn into a second CSV.

The input CSV should look like this:

Alex,Beatrice,101.32 Beatrice,Alex,1.20 Carl,Alex,45 Carl,Beatrice,12.50 Alex,Beatrice,19.22 Beatrice,Carl,67.90 Carl,Beatrice,12.80 Carl,Alex,15.88 Beatrice,Carl,71.42 Beatrice,Alex,4.54 Beatrice,Carl,28.76 The first line states that Alex owes Beatrice $101.32.

Currently, an intern is manually summarizing this data. If they used the above example, their result would look like this:

Alex,Beatrice,120.54 Beatrice,Alex,5.74 Beatrice,Carl,168.08 Carl,Alex,60.88 Carl,Beatrice,25.30 The client would like to automate this process, especially since these CSVs can get quite large!

Your job is to create a unix-friendly command line application that performs this summarizing efficiently and correctly.

nodejscsv's People

Contributors

boazkips avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.