I'm looking for guidance on best method to store user data without requiring 'registration'. Any help? Experience?
For example: I'd like to build a simple 'to do' list app that doesn't require users to register with an email and password. Asking the user to create an account seems like an unnecessary step for a simple app - at least from a users standpoint.
I haven't seen any demos that deal with user data that don't require registration. But I frequently encounter apps that are store your data and seeings WITHOUT requiring a sign up of any kind.
I imagine creating a random, unique userID and associating that with each to-do record in the database. This userID would be stored in a local storage variable, and used as the key for retrieving their own to-do items.
As I understand it the local storage items persistent for the life of the app? Is this correct? I get that if a user installs the app on a new device his/her list would be lost. Putting that aside, is this random userID feasible? What are best practices? Pitfalls? Thanks