sajalshres / youtube-trends

A dashboard for analysis and visualization of Youtube trends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

youtube-trends

A dashboard for analysis and visualization of Youtube trends

Requirements

  • Docker
  • Docker Compose

Tech Stack

  • ReactJS
  • Nivo Charts(D3)
  • JavaScript
  • FastAPI
  • Pandas and Numpy
  • Python
  • MongoDB
  • Redis Cache

Services

  • CLI (ETL TOOL)
  • Client
  • Server
  • Notebook

Instructions

ETL: Process data from kaggle

  1. Get your kaggle api token from kaggle.com

  2. Install cli:

    # Install cli dependencies
    $ python -m pip install -r cli/requirements.txt
  3. Initialize cli and provide configuration

    # Initialize cli and insert config
    $ python cli init

Note: Default values are: 1. Kaggle Username: 2. Kaggle Key: 3. Mongodb Username: admin 4. Mongodb Password: Admin#2022 5. Mongodb Host: localhost 6. Mongodb Port: 27017 7. Data Dir: .data

  1. Download data

    $ python cli download
  2. Process data and load into MongoDB:

    $ python cli run

Start the instances

$ docker-compose up --build

Visit http://localhost:3000 in your local browser.

About

A dashboard for analysis and visualization of Youtube trends


Languages

Language:Jupyter Notebook 87.0%Language:JavaScript 7.4%Language:Python 5.3%Language:CSS 0.2%Language:HTML 0.1%