Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adityachandak287/ipl-dataset

Displaying IPL dataset from 2008-2016 using server side rendering.
https://github.com/adityachandak287/ipl-dataset

Last synced: about 7 hours ago
JSON representation

Displaying IPL dataset from 2008-2016 using server side rendering.

Awesome Lists containing this project

README

        

# IPL Dataset

Simple node.js app to display IPL dataset using express, mongoDB and server side rendering using ejs.

## Screenshots

| | 2008 Season | 2016 Season |
| :--------------------: | -------------------------------------------- | -------------------------------------------- |
| Table | | |
| Mumbai Indians Matches | | |

## How to run project locally

### Populate mongoDB (needs to be done only once)

Extract zip file drom `data` folder and run the following command to import CSV file into mongoDB.

```cmd
mongoimport --type csv -d ipl -c matches matches.csv --headerline
```

Run python script from `scripts` folder to make Table collection in mongoDB

```cmd
python3 makeTableCollection.py
```

### Run server

```
npm start
```

Navigate to http://localhost:3000/.

## Resources

Dataset can be found [here](http://hck.re/A1Fz4c).