Coder Social home page Coder Social logo

chess's Introduction

Chess - Visualization and Insights

Big Data Project for CS-GY 6513

Please download the database used for this project from
Download

Make sure mongoDB is connected on localhost on port number 27017

The project consits of five files which run everything.

  1. main.ipynb: To initialize the mongoDB from the database
  2. apiData.ipynb: To initialize the mongoDB from APIs
  3. publishAPI.ipynb: To publish the APIs derived out of the project
  4. scheduler.ipynb: To automatically add new players and matched at the end of every month
  5. flask.ipynb: To demo a light weight web app and user interactive frontend

To initialize the mongoDB database, you will need to run main.ipynb. This file will populate the mongoDB using the database downloaded from the drive above. Then you can run apiData.ipynb to populate mongoDB from APIs of chess.com. And finally you can run publishAPI.ipynb if you want to publish the dervied APIs. For demo purposes, the files main and apiData a MAX_NUMBER_OF_PLAYERS counter in each files which limits the number of players that can be added to mongoDB. To add all the data, you can make MAX_NUMBER_OF_PLAYERS == -1. However, this will take a lot of time to execute. Once all that is done, you can go ahead and run the flask.ipynb file. This file will host a web app on the localhost on port 5001.

You can run scheduler.ipynb in the background indefinitely.

chess's People

Contributors

sharadtt 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.