akhil-ghatiki / foreCastAlexSkillBackend

This is a custom backend logic for Alexa skill that forecasts the retail demand
MIT License
3 stars 0 forks source link

React UI to read the Json of the final order list #10

Open akhil-ghatiki opened 4 years ago

SwathiVarkala commented 4 years ago

@sowmika The UI should prompt for email id to display invoice Sample Invoice JSON file returned by below Invoice end point. http://localhost:8080/retailMart/minions@email.com/invoice { "id": "9fa3134c-b5fa-4ea4-8abb-2d0a73f891dc", "orderDate": "2020-04-17T13:40:09.677+0000", "user": { "username": "minions", "userEmail": "minions@email.com" }, "company": { "companyName": "RetailMart", "companyEmail": "contactus@retailmart.com" }, "totalPrice": 1178, "orderLineItems": [ { "name": "orange", "quantity": 0.8, "unit": "kg", "id": "231-345", "unitPrice": 60, "price": 48 }, { "name": "eggs", "quantity": 10, "unit": "number", "id": "231-745", "unitPrice": 60, "price": 600 } ] }