Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.29 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.29 KB

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.