This is a very simple website built with Wappler.
Data source is a JSON file with the menu details: using “JSON Data Source” for it.
menu items added to cart are handled via “Data Store”.
finally, order can be placed via WhatsApp - the order string is constructed based on the items selected and stored in the Data Store component.
Built this in about 15 hours over 3 days. Learnt how to use JSON Data Source and Data Store meanwhile
This is basically a MVP developed on behalf client to gauge customer need for this software product.
One security concern, it looks like you are summing the total on datastore rather than from a server action. It might not matter to you too much because it looks like checkout is only a WhatsApp message but I can change the price easily before checking out.
spot on.
since the message is editable on WhatsApp, we did not bother with creating a SA.
but surely, when this evolves, we will certainly do those compute on server side from server side values itself.
thank you @max_gb for the feedback.