Skip to content

RoyEun/Sportify

 
 

Repository files navigation

Sportify

Make better decisions for your fantasy football league with Sportify, a dynamic sports analysis platform.

Team

  • Carlos Espinal
  • Roy Eun
  • Duke Pham
  • Jay Arella

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
  4. Contributing
  5. Architecture
  6. API
  7. Deployment
  8. Testing

Usage

Login to your fantasy football yahoo account and check your team's projections, compare player statistics, and create your own unique statistics.

From within the root directory

$ npm start

Requirements

  • Node 6.3.1
  • Express
  • Postgresql 9.5
    • Sequelize ORM
  • React
  • Redux
  • Axios

Development

Installing Dependencies

From within the root directory:

$ npm install

Contributing + Github Workflow

See github.md for contribution and github workflow guidelines.

Architecture

High Level Architecture

Database Schema

Database in Postgres, using Sequelize ORM

API

Public End Points
Request URL Response
Log-in /auth/yahoo
Log-out /logout
Get Leagues /leagues leaguesObj
Get Roster /roster/:league_key rosterArray
Get Tweets /api/getTweets tweetsArray
Get Players Tweets /api/getPlayersTweets playerTweetsArray
Get All Players /api/getAllPlayers playersArray
Get Games Schedule /api/getGamesSchedule gamesArray
Get Players By Parameters /api/getPlayersByParams playersArray
Get Players By IDs /api/getPlayersByIds playersArray
Get Players By Name /api/getPlayersByName playersArray
Get Projected Vs. Actual /api/getProjectedVsActual playersArray

Deployment

This has been deployed onto AWS using Docker containers.

Testing

From within the root directory:

$ npm test

About

Football

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.8%
  • CSS 16.6%
  • HTML 5.6%