Saturday 16 December 2017

How can I allow users to vote without signing in?

Hi,I'm teaching myself how to use node, and would appreciate some advice on an app I'm working on.I'm making a very simple webpage which is essentially a list of links ordered by how many upvotes they've received. Similar to reddit, but the links won't expire and disappear over time. I'm planning on storing each link as a db object with mongo, and I want to allow users to upvote/downvote each link without being signed in.Any ideas on the best way to tackle this so that users can't vote more than once even without authentication?Thank you!edit: btw the site won't allow you to sign in at all, all anonymous voting

Submitted December 17, 2017 at 03:30AM by notnotgoodbad

No comments:

Post a Comment