Inspiration

The inspiration behind this was to connect a web application with an AWS skill using Flask and .net core. I also wanted to use a PWA with Flask.

What it does

Uses Yahoo Finance Api to pull certain stock data. You can then add this data to your watchlist which is stored in a MySQL database. An Alexa Skill then connects to this database to retrieve the data. With the PWA installed you can add and access the application from your homescreen, and get some offline capabilities. There are also some Finance tips sprinkled in there.

How I built it

I used a base Flask project layout that we used for starting our CSE442 project (Can be seen in first commit) I used https://github.com/alexa/skill-sample-csharp-fact for the tutorial and code base of the AWS skill I have had some experience using these technologies in the past I also used Heroku and Google PWA labs

Challenges I ran into

I ran into a lot of issues on the PWA portion. My service worker would not register properly, and my manifest json file was not able to find the service worker. I also had trouble getting starting with connecting to Yahoo Finance API. I also had trouble serving the application on Heroku.

Accomplishments that I'm proud of

Figuring out how to install the PWA on a Flask stack.

What I learned

I learned how to use Flask more efficiently, and how to install a service worker on Flask to create a PWA. I also learned how to connect to Yahoo Finance API.

What's next for Stocks PWA

Share this project:
×

Updates