{"id":20307152,"url":"https://github.com/jadbox/leaderboard-js","last_synced_at":"2026-05-30T18:31:44.546Z","repository":{"id":25565597,"uuid":"28998924","full_name":"jadbox/leaderboard-js","owner":"jadbox","description":"This is a leaderboard game server in Node.js and uses either Redis or local node memory to store player state.","archived":false,"fork":false,"pushed_at":"2015-01-13T20:57:06.000Z","size":824,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T18:55:05.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jadbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-09T03:32:21.000Z","updated_at":"2015-01-13T20:57:06.000Z","dependencies_parsed_at":"2022-07-10T12:16:38.100Z","dependency_job_id":null,"html_url":"https://github.com/jadbox/leaderboard-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jadbox/leaderboard-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadbox%2Fleaderboard-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadbox%2Fleaderboard-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadbox%2Fleaderboard-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadbox%2Fleaderboard-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jadbox","download_url":"https://codeload.github.com/jadbox/leaderboard-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadbox%2Fleaderboard-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33705207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T17:16:27.224Z","updated_at":"2026-05-30T18:31:44.530Z","avatar_url":"https://github.com/jadbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Clone, get dependencies and run:**  \n```\ngit clone git@github.com:jadbox/leaderboard-js.git  \ncd leaderboard-js  \nnpm install  \nnode server.js  \n```\n  \n**Select DB**  \nSee lines 8-9 in server.js\n  \n**Test case:**  \nWith [HTTPie](https://github.com/jakubroztocil/httpie), run the client test script: [./test.sh](https://github.com/jadbox/leaderboard-js/blob/master/test.sh)\n  \n**Notes:**  \n* Registering a new user only requires a name, as a playerID will be generated.\n  * Example: ```http POST localhost:3000 name=Don event:=1```  \n  * Reponse: ```{\n    \"name\": \"Don\", \n    \"playerID\": 1, \n    \"status\": \"Success: registered player\"\n    }```\n* Deleting users require the DELETE HTTP method.\n  * Example: ```http DELETE localhost:3000 playerID=\"1\"``` \n  * Reponse: ```{\n    \"playerID\": 1, \n    \"status\": \"Success: deleted player\"\n}```\n* All event actions, aside from delete player, use the POST HTTP method\n* New event ID route handlers can be added in the app-routes.js method ```eventRoutes()```\n* Server port is 3000 by default (test.sh uses this) but can be speficied using the first arg.\n  * Example: ```node server.js 2000```\n  \n_See project files for documentation._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadbox%2Fleaderboard-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjadbox%2Fleaderboard-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadbox%2Fleaderboard-js/lists"}