Skip to content

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

Notifications You must be signed in to change notification settings

Forni82/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

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 68.6%
  • JavaScript 11.8%
  • HTML 10.7%
  • PLpgSQL 6.7%
  • CSS 2.2%
  • Procfile 0.0%