Time for some upvotes

Created at 2023-03-28 07:55:37 (1 year ago)

Yesterday evening I did some work on setting up an initial upvote system. Initially this will be very simple:

plan -> upvote <- user

These are stored in the Postgres database but we can move this to other more efficient storage systems later on if needed. So as long as you log in, you can upvote a plan. Having many upvotes does nothing at the moment, so there is no weight attached to it when displaying plans on the home timeline or something. It's still based on newest creation date for now.

This will be changed too: when not logged in, it will show the latest plans. But when logged in, it will show the latest plans from friends (after I implemented this).

php voting system postgres

About jaytaph

Codemuser extraordinaire

avatar Loves building crazy and insane stuff. Happiest when left alone. All I wanted was a Pepsi, just a Pepsi.
Joined:March 24, 2023
Following:2
Followers:2
Posts:51
Comments:3
Upvotes:4
RSS feed