source venv/bin/activate
# terminal one
python main.py
# terminal two
flask run
# terminal three: Start client
curl -X POST http://localhost:5000/user@example.com
curl -X POST http://localhost:5000/user@example.com
curl -X POST -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/user@example.com/add_to_cart
curl -X DELETE -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/user@example.com/remove_from_cart
curl -X GET http://localhost:5000/user@example.com/cart
curl -X POST http://localhost:5000/user@example.com/checkout
curl -X POST http://localhost:5000/user@example.com
curl -X POST -H "Content-Type: application/json" -d '{"id": 0}' http://localhost:5000/user@example.com/add_to_cart
curl -X POST -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/user@example.com/add_to_cart
curl -X GET http://localhost:5000/user@example.com/cart
curl -X DELETE -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/user@example.com/remove_from_cart
curl -X GET http://localhost:5000/user@example.com/cart
curl -X POST http://localhost:5000/user@example.com/checkout
temporal workflow terminate --workflow-id shopping-cart-workflow-user@example.com
temporal schedule delete --schedule-id workflow-schedule-id-user@example.com