GithubHelp home page GithubHelp logo

sanchezjjose / sportify Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 11.12 MB

web application for managing schedules, scores, rosters, statistics, news and notifications for teams and games.

License: Other

HTML 63.99% Scala 3.23% JavaScript 32.06% CSS 0.68% Shell 0.04%

sportify's Introduction

SPORTIFY

A RESTful, Reactive API written in Scala with Mongo and Play!

The API supports scheduling games, managing player RSVP's to games, communicating upcoming games, and much more.

Stay tuned...

sportify's People

Contributors

sanchezjjose avatar

Stargazers

Kevin Segal avatar  avatar  avatar Patrick Losco avatar

Watchers

James Cloos avatar

sportify's Issues

Update model structure

Use Cases

  • A Season should contain a list of Team ID's
    e.g, The 'Fall 2015' season contains 'Knicks', 'Lakers', and 'Bucks'
  • Each new Season will contain new Team ID's. The same teams from the previous Season can exist with the same name and roster if it hasn't changed, BUT the 'id' must always be unique. This will allow to keep track of how a team changes over time
    e.g, each new Season the teams Roster is likely to change
  • A Team has a list of Player ID's
  • A User can be a player on multiple teams, thus should contain a list of Player ID's.
  • A UserContext should be passed alone with every request

Example Models

UserContext

  • selected_team
  • other_teams
  • current_season
  • next_game
  • user
  • player
  • sport

Season

  • _id
  • name
  • team_ids
  • game_ids

Team

  • _id
  • name
  • player_ids
  • sport

Game

  • _id
  • team_ids // usually 2 teams playing each other
  • number
  • start_time
  • address
  • gym
  • location_details (optional)
  • opponent
  • result (optional)
  • players_in
  • players_out
  • is_playoff_game

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.