First commit for product microservice. It consists of 3 pages and 4 functions: The firt function displays products by category on the home page. The second function displays a product on another page after it has been clicked on. It displays the product name, price, image, description and reviews and the product id is sent through a get request. The third function communicates with the user microservice to get a users username when they want to add a product. And the fourth function inserts the product reviews and username gotten from the user microservice into the product reviews table
Name | Last commit | Last update |
---|---|---|
.. | ||
__pycache__ | ||
controllers | ||
models | ||
templates | ||
__init__.py | ||
config.py | ||
index.py | ||
run.py |