This is a simple app using FAST API to create and store a shopping list. It is inteneded for use with demo purposes. The aim is to create this as a docuker container and deploy to the registry to test with Kubernetes.
uvicorn main:app --reload
URL = http://localhost:8000/docs#/default/update_item_items__item_id__put
https://fastapi.tiangolo.com/#installation
Run the UVICORN server
uvicorn main:app --reload
See Dockerfile for configuration.
sudo docker build -t shoppinglist .
sudo docker run shoppinglist
sudo docker tag shoppinglist thundercatsho/shoppinglist:latest sudo docker login sudo docker push thundercatsho/shoppinglist:latest
Uses postgres, set the following environment varibales to connect in production environment.
ENVIRONMENT=PROD PROD_HOST PROD_PORT PROD_DATABASE PROD_USER PROD_PASSWORD