windingtree / win-stays

🏆 win.so
GNU General Public License v3.0
3 stars 3 forks source link

Export/import of the bookings list #134

Open bobetbat opened 2 years ago

bobetbat commented 2 years ago

A simple feature for allowing to the user download his bookings list in the form of a file (json or binary), and restore it back if it required. The component that implements the download of JS objects as files is already implemented in the old app. This is a very important feature because if the user lost access to his bookings data he will not be able to make check in or prove his booking. As an alternative (or as an additional feature in the next stays version), we can implement NFT wrapper. This wrapper will allow us to map the stub to the token Id. This way we will be able to restore the bookings list by reading the list of NFT owned by the address.