Skip to content

Web application for creating and maintaining fantasy leagues for different kinds of sport competitions.

License

Notifications You must be signed in to change notification settings

kortirso/fantasy_sports

Repository files navigation

Fantasy Sports

Web application for creating and maintaining fantasy leagues for different kinds of sport competitions.

Installation

$ bundle install
$ rails db:create
$ rails db:schema:load
$ rails db:seed
$ yarn install

Running web application

$ foreman s

Tasks

Check translations

$ i18n-tasks health

Testing

Unit tests

$ rspec

E2E tests

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

Sensitive information leaks

$ bearer scan .

Process

Starting new week

  Weeks::ChangeService.call(week_id: week.id)

week - coming week that must start

Fetching data for game

  Games::FetchService.call(game: game)

game - game for fetching data

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see the LICENSE file in our repository for the full text.