Skip to content

arpeggito/TFT_Data_Engineering

Repository files navigation

TFT Leaderboard and Player Analysis with Docker, PostgreSQL, Airflow, and Python

Overview

This section provides a high-level overview of the project, including its objectives, target audience, and key features.

image

Project Goals

  • Create a real-time leaderboard of the top TFT players on the EUW server
  • Gather the last 10 games for each top player for further data analysis
  • Develop a data pipeline using Docker, PostgreSQL, Airflow, and Python

Tools Used

  • Docker: Used for containerization and managing the infrastructure of the project.
  • Postgres: The chosen relational database for storing both the tools' metadata and the game data.
  • Airflow: Utilized for scheduling and orchestrating the data pipelines, ensuring seamless and timely execution.
  • Python: The primary language for developing data pipelines, handling API requests, and performing data analysis.

Prerequisites

To use the template, please install the following.

  1. git
  2. Github account
  3. Docker with at least 4GB of RAM and Docker Compose v1.27.0 or later

How to Run

Setup Docker Environment:

  1. to set up the environment with docker use: docker-compose up -d After running the docker-compose, run "docker ps" to see if the containers are up and running: image

  2. Make sure to create your .env file with the required variables to be able to run the script

  3. the init.sql file runs the first time the database is created to give the Metabase and airflow databases the required privileges (Yes we migrating the SQLite databases from the tools to Postgres)

  4. The docker-compose file will bring up all the services, Metabase, Airflow, and Postgres

Accessing the tools:

  1. Airflow

image

  1. Snowflake / Postgres:

image

image

Since visualizing data in the terminal for Postgres is a bit messy, I just rather stick with Snowflake since it's more than enough.

  1. Metabase (Data Visualization)

image

Brose Data:

  • TFT Leaderboard image

  • Last 10 TFT Challenger Matches of each Player image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages