SmartTokenLabs / TokenScript

TokenScript schema, specs and paper
http://tokenscript.org
MIT License
242 stars 71 forks source link

Web-example hotel changes #417

Open nicktaras opened 3 years ago

nicktaras commented 3 years ago

These are the ui/ux changes we talked about.

From these changes I've made some upgrades to the UI also to make the demo more realistic to an a hotel booking.

These are still some tasks for us to integrate the solution into the ui, which would be great to review with you soon also.

oleggrib commented 3 years ago

Can you remove files like "roomTypesTicketClassDataMock2.json" and use POST requests to http://bogotabackend.herokuapp.com/ to receive updated products. it will be more similar to real life situations. to use POST requests - you have to update some logic - disable common discount values, some hidden products can be added, shipping optins change depens on used tokens. in this case we will emulate real world example, we do it to show as mush as possible potential features for customer.

nicktaras commented 3 years ago

Updated example to use the latest API