Skip to content

Premier League football simulation web app. Select teams, play week matches one by one or simulate them all. Scoring algorithm is based on prediction percentage and past performance.

Notifications You must be signed in to change notification settings

filipimiparebine/premier-league

Repository files navigation

Premier League Simulation

This project is a Premier League football simulation application built with Laravel 10 (backend) and Next.js (frontend).

Premier League Simulation Demo Gif

Features

  • Team selection
  • League table generation
  • Week fixtures (week matches to be played)
  • Match simulation
  • Match prediction
  • Edit match result
  • Simulate all
  • Unit and feature testing with PHPUnit
  • Dockerized
  • Github CI Pipelines

Setup

  1. Clone the repository:
git clone https://github.com/filipimiparebine/premier-league-be.git
cd premier-league-be
  1. Run project:
./run.sh
  1. Access the application at http://localhost:3000

Running Tests

To run the backend tests:

docker-compose exec premier-league-be vendor/bin/phpunit

Seeding the database

Seeding the database is executed once on docker compose up, but you can also use:

docker compose exec premier-league-be php artisan db:seed --class=DatabaseSeeder

CI/CD

This project uses GitHub Actions for continuous integration. The workflow is defined in .github/workflows/ci.yml.

License

This project is open-sourced software licensed under the MIT license.

About

Premier League football simulation web app. Select teams, play week matches one by one or simulate them all. Scoring algorithm is based on prediction percentage and past performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages