Simple NodeJS leaderboard using postgres. Used in my game project Mega Mecha Marxist II
Fully deployable on heroku free tier. No authentication.
(documented in Postman JSON files)
GET: /leaderboard - returns a sorted list of all the scores stored in the DB.
POST: /leaderboard - submits a score to the DB.
GET: /admin/wipe - wipes the DB. used between major updates to reset scoring.