Skip to content

JennyShen056/Jenny-Shen-IDS706-Project4

 
 

Repository files navigation

Jenny-Shen-Project4

Python application test with Github Actions

Background, dataset and setups

Project 4 demonstrates how to create a Microservice by defining functions using yfinance API and using FastAPI. The source code is tested and pushed to Github and perform Continuous Integration with Github Actions. Last, we configure Build Server to Deploy Changes on build.

images

Command Line Result

Screen Shot 2022-11-27 at 11 34 05 PM

Screen Shot 2022-11-27 at 11 33 52 PM

1. Defined function that return the sector of a specific ticker

Screen Shot 2022-11-27 at 11 35 34 PM

Screen Shot 2022-11-27 at 11 35 42 PM

Screen Shot 2022-11-27 at 11 36 02 PM

Screen Shot 2022-11-27 at 11 36 11 PM

2. Defined function that return the financial indicators of a specific ticker

Screen Shot 2022-11-27 at 11 32 07 PM

Screen Shot 2022-11-27 at 11 32 33 PM

Some financial information including EBIT and Net Income, which are usaully important indicator for investors to make decisions.

Continuous Delivery

1. Elastic Container Registry

Creat a repository and copy all the push commands under to Deploy part of the MakeFile.

Screen Shot 2022-11-27 at 11 38 02 PM

Screen Shot 2022-11-27 at 11 38 18 PM

2. CodeBuild

Creat a build project and try build to ensure the build process is successful.

Screen Shot 2022-11-27 at 11 38 50 PM

About

Jenny Shen's Project4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.4%
  • Makefile 35.0%
  • Dockerfile 7.6%