Skip to content

kovalevcon/playoff-tournament

Repository files navigation

Playoff tournament

Objective of the project:

This project implements the “Tournament grid” functionality, as well as the administrative interface for its management. The tournament grid has a knockout type. It is based on the participation of 2 teams, of which one winner goes to the next round. Examples of tournament nets can be found in the search engine link

A tournament grid is built in the public interface. In the administrative interface, control this grid. Tournament grid data is saved to the database. The administrative section displays a report on commands with fields:

  • “Team”;
  • “place in the tournament”;
  • “overall team performance in points / goals for the entire tournament”;
  • “average performance per match”;
  • “best performance per match”.

Screenshots

Main page full: Main page full

Main page tournament grid: Main page full

Admin panel - Tournament statistics: Main page full

Admin panel - Tournament matches: Main page full

Install

  1. Copy and edit env file:

    cp .env.example .env

    Need config MySQL connection in .env file and create tournaments database:

    CREATE DATABASE `tournaments` COLLATE utf8_general_ci;
  2. Install dependencies:

    composer install
  3. Generate encryption key for Laravel:

    php artisan key:generate
  4. Publish assets and config for admin-panel:

    php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
  5. Install admin-panel:

    php artisan admin:install
  6. Refresh migrations (some problem with admin_menu inserting):

    php artisan migrate:refresh --path=/database/migrations/2019_08_22_014400_create_playoff_admin_menu.php
  7. (Optional) Complete seeds for example data (teams, matches, tournament, tournament matches):

    php artisan db:seed
  8. See main page on http://localhost/.

  9. See admin panel on http://localhost/admin.

    Login: admin, Password: admin.

Thanks Joe Beason for design (link).

@kovalevcon

About

This project implements the “Tournament grid” functionality, as well as the administrative interface for its management.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published