Giter Club home page Giter Club logo

nfl-rushing's Introduction

The Rush App

Understanding the data

In this repo is the file rushing.json. It contains data about NFL players' rushing statistics. Each entry contains the following information

  • Player (Player's name)
  • Team (Player's team abreviation)
  • Pos (Player's postion)
  • Att/G (Rushing Attempts Per Game Average)
  • Att (Rushing Attempts)
  • Yds (Total Rushing Yards)
  • Avg (Rushing Average Yards Per Attempt)
  • Yds/G (Rushing Yards Per Game)
  • TD (Total Rushing Touchdowns)
  • Lng (Longest Rush -- a T represents a touchdown occurred)
  • 1st (Rushing First Downs)
  • 1st% (Rushing First Down Percentage)
  • 20+ (Rushing 20+ Yards Each)
  • 40+ (Rushing 40+ Yards Each)
  • FUM (Rushing Fumbles)
The App

This app is able to do the following things:

  1. Displays a table with the contents of rushing.json
  2. The user is able to sort the players by Total Rushing Yards, Longest Rush and Total Rushing Touchdowns
  3. The user is able to filter by the player's name
  4. The user is able to download the sorted/filtered data as a CSV

Installation and running this solution

To run this app in your local environment using Docker. If you don't have Docker installed already please visit installation page for more details.

Once you have Docker installed and cloned this repo locally, you can run server and client apps in a container by following these steps:

  • Clone this repository:
git clone [email protected]:andrejkn/nfl-rushing.git
  • Change directory to the location of the cloned repository:
cd ~/nfl-rushing
  • Run the app in a docker container:
docker-compose up -d

This last step will start 3 containers, one for the PostgreSQL database, one for the Python/FastAPI server app and one for the React/Redux client app. The rushing.json will be automatically loaded in the DB.

The server, which comes with swagger, app can be accessed through: http://localhost:8000/docs

For any questions regarding this repo and the setup process you can reach out to me via email [email protected]

nfl-rushing's People

Contributors

andrejkn avatar kevinjalbert 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.