i am making a Restaurant Menu App.
Diner are allow to scan QR code and place order immediately ( without login )
I think is best “NOT TO” start recording their “orders” into database, some may just enter and playing with the menu ( correct me if I am wrong )
My logic flow :
- Browse Menu
- add item into order ( included variation )
- once diner confirmed the Order. Click “Place Order”
- then the confirmed order will recorded into Database.
My Question :
- so, the unconfirmed order might be “Session-Bound”, meaning quit the page may clear the order
- how do I record these “unconfirmed data” effectively ( I am making a Single Page Apps )
Thanks in advance, for this very helpful community.