fetching rewards backend service
Clone this repo
Move into the directory
cd fetchRewards
Build docker image from Dockerfile
docker build -t fetchapp .
Run the app
docker run -p 5000:5000 fetchapp
Go to http://127.0.0.1:5000/receipts/process with receipt payload to retrieve an id
Go to http://127.0.0.1:5000/receipts/<receipt_id>/points to retrieve the points
this is the image hosted on dockerHub
docker pull taroleee/fetchapp:test
docker run -p 5000:5000 taroleee/fetchapp:test