/Recommendation-for-Data-Scientist-Interview-Preparation

Project 4 for Data Engineering Course at Duke University

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

Python application test with Github Actions

Alisa_Project4:Youtube Recommendation for Data Scientist Interview Preparation

Screen Shot 2022-12-03 at 10 10 58 PM

The aim of this project is to create a microservice that returns a JASON payload, and also performs continuous integration(CI) through Github actions as well as deploy change (CD) through Fast API. I used the example of getting youtube recommendation for data scientist interview preparation.

Steps:

  1. Create a Microservice and push the source code to Github and perform Continuous Integration
  2. Deploy changes on build for Continuous Delivery and test through code build
  • Install youtubesearchpython package: : pip install youtubesearchpython

Output Example

Screen Shot 2022-12-03 at 10 12 38 PM

  • When selecting /video_suggestions and then search 'data science intern interivew'

Screen Shot 2022-12-03 at 10 13 04 PM

  • When selecting /channels_Search and then search 'data science job interview preparation'

Screen Shot 2022-12-03 at 10 15 56 PM

The output youtube channel:

Screen Shot 2022-12-03 at 10 16 16 PM

Elastic Container Registry and MakeFile

Create a repository in Amazon ECR and copy the push commands in our MakeFile image

Screen Shot 2022-12-03 at 10 18 11 PM

Result of CodeBuild: Successful

By checking the "build status", we can unsure that our build status is successful.

Screen Shot 2022-11-30 at 6 58 38 PM