Web Rails application for Fantasy Football based on Seria A competition.
bundle
rake db:create
rake db:migrate
rake db:seed
rspec spec
- Club:
- are created during project setup.
- is filled with real players.
- must be updated after each round of Seria A competition.
- Player:
- are created during project setup.
- User:
- after registration user must create
Team
. - after sign in user is redirected to
Team
screen. - user can have only one team.
- after registration user must create
- Team:
- is forming from
clubs
players
. - can have max 25
players
:- 3 goalkeepers (P);
- 8 defenders (D);
- 8 midfielders (C);
- 6 forwards (A).
- is forming from
- Tour:
- round of Seria A competition.
- contains with Seria A
games
.
- Game:
- Seria A game between two
clubs
in sometour
.
- Seria A game between two
- Squad:
- is exhibited by
user
one hour beforetour
start. - must have 11
members
in main part:- 1 goalkeeper (P);
- 3-5 defenders (D);
- 3-5 midfielders (C);
- 1-3 forwards (A).
- must have 7
members
in reserve part.
- is exhibited by
- Member:
- is
player
which is insquad
. - stored all results (points, bonuses etc.) of
player
in currenttour
.
- is