Giter VIP home page Giter VIP logo

mlb-scoreboard's Introduction

mlb-scoreboard

Brief Description:

MLB scoreboard that displays the team names and scores for each of the games on a given day.

Development Process:

  1. Research on gb2.mlb API
  2. Choose Framework. I was choosing between (React and Meteor, React and Redux, React and React-Router)
  3. Create basic mockups for pages and overall design for integrations
  4. Research on project structure
  5. Setup project structure
  6. Develope features one by one in iterative manner.
  7. Code cleanup and minor improvements

This project was developed with React and React-Router

Tech-Stack overview:

  • React
  • React-Router
  • Webpack
  • Bootstrap

How to run application?

  • clone this application from github: git clone [email protected]:eiglikov/mlb-scoreboard.git
  • open cloned repo
  • from command line run "npm i"
  • wait for packages to be downloaded and installed
  • from command line run "npm start"
  • open localhost:8080

General Application Structure Overview

src/
  components/
    Detail/
      BatsmenDetail.js          # prints Batsmen table
      Detail.js                 # top component that creates DetailViewUI
      DetailStyles.js           # styles
      DetailViewUI.js           # creates layout with InningsTable and TeamView
      InningsTable.js           # prints Inning table
      TeamViewButton.js         # switch between batsmen team details
      TeamView.js               # team scores + batsmen top component
    Game/
      FavFilter.js              # favorite team compoenent
      Game.js                   # top component that creates GameUI, date picker and fav team changer
      GameItem.js               # single Game in the list
      GameStyles.js             # styles
      GameUI.js                 # creates layout with GameItem

  containers/ 
      DetailContainer.js        # detail page container holds all methods and states of Detail
      GameDateContainer.js      # Games page container holds all methods and states of Games
      MainContainer.js          # router wrapper for app

  helpers/
    mlbApiHelper.js             # MLB API helper

  routes/
    routes.js                   # set up all routes in the app

  App.js                        # entry point that sets up router and attach it to DOM
  index.html                    # static html template

mlb-scoreboard's People

Contributors

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