aws-samples/aws-modern-application-workshop

Module 4 - Adoption and 'Like' does not work

Opened this issue · 4 comments

I just finished Module 4. Adoption and Like doesn't seem to work. When looking at index.html it some problems are flagged (localstorage not defined).
The web site seems fine, but clicking on the adoption button and the heart have no effect.
Has anyone seen this as well?

After posting, I realized that the code build for Module 4 failed, due to an outdated Dockerfile (still using Python 2 and pip). When replacing this Dockerfile with the one in Module 2, adoption works, but 'likes' still don't.

Module 4 of python CDK doesn't implement getMysfit() and likeMysfit, you can find the code in Module 4 of python

I have now changed the network configuration to public subnets and an ALB. I can see the mysfits and their profiles and apply filters, but I still cannot like a mysfit or adopt one. I am using Python (not the CDK). I changed the API Gateway integration to HTTP_Proxy. Not sure what I am missing.