Skip to content

A web application built with Laravel, Inertia.js and Vue 3.

License

Notifications You must be signed in to change notification settings

amdlemos/football-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football-api

Overview

A web application built with Laravel, Inertia.js, Vue 3, and Sail, designed to fetch and display football data from a third-party API. It features TanStack Table, ShadCN Vue, caching with Redis, integration via Saloon PHP, and structured models using Spatie Laravel Data.

Screenshots

Competitions list

Homepage

Competition

Competition

Requirements

  • Docker and Docker Compose installed.
  • Account on Football Data to obtain an API key.

Installation

  1. Clone the repository:

    [email protected]:amdlemos/football-api.git
    cd football-api
  2. Install Composer dependencies:

    docker run --rm \
        -u "$(id -u):$(id -g)" \
        -v "$(pwd):/var/www/html" \
        -w /var/www/html \
        laravelsail/php83-composer:latest \
        composer install --ignore-platform-reqs
  3. Copy the environment file and configure the API key:

    cp .env.example .env

    Edit the .env file and add the API key:

    FOOTBALL_DATA_API_KEY=yourapikeyhere
  4. Start the application:

    vendor/bin/sail up

Access

About

A web application built with Laravel, Inertia.js and Vue 3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published