8000 GitHub - Shrhawk/ecommerce-analytics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shrhawk/ecommerce-analytics

Repository files navigation

E-commerce Analytics Platform

This project implements a data processing pipeline for an e-commerce analytics platform, featuring ETL processes, a GraphQL API, and workflow orchestration.

Features

  • ETL pipeline for processing large CSV datasets
  • PostgreSQL database with optimized schema and partitioning
  • FastAPI-based GraphQL API
  • Flyte workflow orchestration
  • Comprehensive data analytics capabilities
  • Docker support for easy deployment

Requirements

  • Python 3.12.2
  • PostgreSQL
  • Docker and Docker Compose

Docker Setup (Recommended)

  1. Clone the repository:
git clone https://github.com/Shrhawk/ecommerce-analytics.git
cd ecommerce-analytics
  1. Copy the environment file:
cp example.env .env
  1. Build and start the services:
docker-compose up --build

Docker Commands

  1. Run database migrations:
docker-compose run web alembic upgrade head
  1. Generate sample data:
docker-compose run web python data-generator.py
  1. Run ETL pipeline:
docker-compose run web python app/etl/pipeline.py
  1. Run ETL workflow:
docker-compose run web python app/workflows/etl_workflow.py

Once you are done with above queries, you can access the API and Graphql playground.

The following services will be available:

Copy Graphql queries and variables from graphql_queries.md and run in playground.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0