1: Install Node
https://nodejs.org/en/download/
2: Install git
Linux: https://git-scm.com/downloads
Windows: https://gitforwindows.org/
3: Install VSCode
https://code.visualstudio.com/download
4: Install npm packages
npm install
5: Start server
npm run start
6: Visualize results on your browser
csv_data
: This directory contains the dataset: matches.csv
and deliveries.csv
ipl
: This directory contains all the JavaScript business logic
public
: This directory is contains the resulting data.json
and also the HTML and JavaScript code required to visualize the results. The static server serves the index.html
file present in this directory
node_modules
: This directory is used by node and npm to store third party packages like csvtojson
.
index.js
: This file contains the code which: 1. Reads the csv data 2. Calls the JavaScript business logic functions. 3. Saves the results in public/data.json