Skip to content

This is baseline implementation of Event Driven Architecture with Youtube, Redis and Docker

Notifications You must be signed in to change notification settings

sauravsolanki/newsfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Videos Newsfeed Infrastructure Code

This repo demonstrates:

  • Calling the YouTube API continuously in background, fetching the latest videos for a predefined search query and storing it in a database.
  • APIs which returns the stored video data in a paginated response sorted in descending order of published datetime.

Flow/Diagram

image

Images

image

Please checkout More here:

Improvements

  • Front End App View
  • Optimise Search (Semantic Search)
  • pep8, pre-commit hooks
  • pylint
  • GCP serverless Deployment
  • make a Video

Getting Started

Dependencies

  • Docker version 20.10.17, build 100c701
  • docker-compose version 1.29.2, build 5becea4c
  • Distributor ID: Ubuntu ,Description: Ubuntu 22.04.1 LTS ,Release: 22.04 , Codename: jammy

Installing

  1. Prepare .env from sample.env file.
  2. Run the command: docker-compose up -d to spin all the process

By default, the stack exposes the following ports:

Folder Structures

.
├── compose.yml
├── app/ # FAST API server serving /GET APIs for search and list videos
├── data-puller/ # Pull Youtube Video Data at some interval and push to database
├── frontend/ # React App to see video data in paginated fashion
└── redis-dashboard/ # for redis dashboard view

Authors

Version History

  • 0.0.1 : Initial Release (Currently)

About

This is baseline implementation of Event Driven Architecture with Youtube, Redis and Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published