I am building a poker planning web app with react.
How the app works:
A person create a board and then share the URL with other members in his team.
Each team member will join the board via the shared url.
Once joined, each member will be able to vote and at the same time be able to see which team member has voted.
Once all members has voted, a button is pressed to show all the vote.
In term of data, I will only have an object (key value pair) containing the name of the users and their score. Something like this:
board = {
user1: 1,
user2: 4,
user3: 2,
user4: 7
}
Issue: How can I make the data persistent across browsers. E.g, I should be able to save the UserName and vote for all users who have voted. Bearing in mind that each users is connected via the shared URL on their own computer (browser).
I am new to react and web dev.