https://github.com/adityachandak287/ipl-dataset
Displaying IPL dataset from 2008-2016 using server side rendering.
https://github.com/adityachandak287/ipl-dataset
Last synced: 4 months ago
JSON representation
Displaying IPL dataset from 2008-2016 using server side rendering.
- Host: GitHub
- URL: https://github.com/adityachandak287/ipl-dataset
- Owner: adityachandak287
- License: mit
- Created: 2020-06-19T14:29:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T02:54:18.000Z (over 2 years ago)
- Last Synced: 2025-01-20T08:13:18.239Z (6 months ago)
- Language: HTML
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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).