Project has team vise IPL statistics from 2008-2019 match
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
- Node JS v8.0.0+
- MongoDB v3.6+
- npm v6.4.1+
$ git clone https://github.com/Riddhish97/IPL2020.git
$ npm installCreate file from sample file
- Create .env file from sample and set port
- Create databse.js file from database.sample.js
Note - Default port for mongoDB is 27017 if you have mongoDb running on different port please update it in database.js
Run this below command which will create user in mongoDB and store data in your DB
$ node scripts/initScripts.js
$ node scripts/storeDataInDB.js Run the project
$ node bin/wwwNote - If you have docker and docker-compose install in your PC then run only the below command to start project
$ docker-compose up -d --build Project will start on 3006 port. You can update port in docker-compose.yml for project and mongoDB in case of docker.
Reach out to me at one of the following places!
- Email at
riddhishraj@gmail.com - Twitter at
@mr_rajgor1997
