Visualize the trending tags from youtube trending list across 30+ countries
This is the backend service serving the final visualization. You can check out the frontend youtube-viz-demo
This project is setup using fastapi and served using uvicorn. Data uses Peewee ORM with Postgresql 10.
you need to create a config file .env in the root path with the following fields:
DATABASE="DB_NAME"
DB_USER="DB_USER"
HOST="DB_IP_ADDRESS"
PORT="DB_PORT"
PASSWORD="DB_PASSWORD"
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
python models.py
you may also want to execute the fn.sql and setup.sql if you want to speed things up such as keyword search etc
This backend also relies on fuzzystrmatch extension for finding similar tags.
uvicorn main:app
Here's some showcase of the final visualization results