I used to have a high score page on my personal website with scores for my own games.
It was a simple submission php script that would add an entry to a database, and then the page to display the scores would simply query the table to display it on a page.
The submission script had a simple hash check to make sure no one was submitting fake scores outside of my games, but if this is just for you and your friends you likely don’t need such a thing.
Only humans that eat other humans.