This is a demo microserivce project
How to use:
-
Run
docker compose upin root directory to create and start a docker container for the node app.- It serves the HTML for the book listings on
loalhost:90
- It serves the HTML for the book listings on
-
Run
docker compose upin the flask_app directory to create and start a docker container for the python app.- It provides
GETandPOSTendpoints to calculate the average rating of a book.
- It provides
These container talk over the local host by using the special Docker URL host.docker.internal. Direct communication through container names is also possible. This requires some adjustments (comment in appropriate sections).
This project originates from AppAcademy Online.