Web application for creating and maintaining fantasy leagues for different kinds of sport competitions.
$ bundle install
$ rails db:create
$ rails db:schema:load
$ rails db:seed
$ yarn install
$ foreman s
Check translations
$ i18n-tasks health
$ rspec
With browser
$ rails server -e test -p 5002
$ yarn cypress open --project ./spec/e2e
Headless
$ rails server -e test -p 5002
$ yarn run cypress run --project ./spec/e2e
Weeks::ChangeService.call(week_id: week.id)
week - coming week that must start
Games::FetchService.call(game: game)
game - game for fetching data