ryandagley / mycologeek-website

A repository for the Mycologeek website. A flask website showcasing home tech projects.
0 stars 0 forks source link

Update Flask App to Query Weather Data from DynamoDB #41

Closed ryandagley closed 1 month ago

ryandagley commented 1 month ago

Modify the Flask app to query the latest weather data from DynamoDB rather than reading from S3.

ryandagley commented 1 month ago

Reading from DynamoDB is a lot simpler than it was to read from S3 because I'm not dealing with so many different objects. In Dev, the site loads way faster than it did, it's still obvious that there's some load time. I suspect the OpenWeather API is the next issue to optimize, but I'm OK with how things are for now.

However, in prod, the weather data doesn't load at all so have to continue troubleshooting.

ryandagley commented 1 month ago

I had to add permissions for my EC2 role to query dynamodb.