{"id":25939053,"url":"https://github.com/ztirom45/guessnumberserver","last_synced_at":"2026-05-12T09:35:45.691Z","repository":{"id":278572712,"uuid":"931512053","full_name":"Ztirom45/GuessNumberServer","owner":"Ztirom45","description":"a guess a number game server written in java using springboot and postgres","archived":false,"fork":false,"pushed_at":"2025-02-21T14:14:49.000Z","size":320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:15:32.373Z","etag":null,"topics":["game","java","server","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Ztirom45.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-12T12:03:06.000Z","updated_at":"2025-02-21T14:14:53.000Z","dependencies_parsed_at":"2025-02-20T14:43:51.525Z","dependency_job_id":null,"html_url":"https://github.com/Ztirom45/GuessNumberServer","commit_stats":null,"previous_names":["ztirom45/guessnumberserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ztirom45%2FGuessNumberServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ztirom45%2FGuessNumberServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ztirom45%2FGuessNumberServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ztirom45%2FGuessNumberServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ztirom45","download_url":"https://codeload.github.com/Ztirom45/GuessNumberServer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780495,"owners_count":20019061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["game","java","server","spring"],"created_at":"2025-03-04T04:15:34.025Z","updated_at":"2026-05-12T09:35:45.644Z","avatar_url":"https://github.com/Ztirom45.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GuessNumberServer 🐋☕🍃🐘\nA spring boot server for the numberguessing game\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"https://github.com/Ztirom45/GuessNumberServer/blob/main/rsc/2.png\" width=\"49%\" /\u003e\n  \u003cimg src=\"https://github.com/Ztirom45/GuessNumberServer/blob/main/rsc/1.png\" width=\"49%\" /\u003e\n\u003c/p\u003e\n\n\n## Use:\n### install with docker compose 🐋⇩\n#### tested on (Fedora 41 x86)\n- [download install_and_run_compose.yaml](https://raw.githubusercontent.com/Ztirom45/GuessNumberServer/refs/heads/release/compose.yaml)\n- or use `wget https://raw.githubusercontent.com/Ztirom45/GuessNumberServer/refs/heads/release/install_and_run_compose.yaml`\n- or use `curl -O https://raw.githubusercontent.com/Ztirom45/GuessNumberServer/refs/heads/release/install_and_run_compose.yaml`\n- run `docker compose -f install_and_run_compose.yaml up`\n- you may need to use `sudo`\n- you may need to start docker `sudo systemctl start docker`\n- if it throws errors after first boot up: try to rerun it\n\n### build yourself 🐋 🏗:\n#### tested on: (Fedora 41 x86) (raspberry pi os arm)\n```\ngit clone https://github.com/Ztirom45/GuessNumberServer\ncd GuessNumberServer\n./gradlew bootJar\ndocker compose build\ndocker compose up\n```\n- you may need to use `sudo`\n- you may need to start docker `sudo systemctl start docker`\n\n\n\n### frontend 🖥️:\n- http://localhost:8080\n\n### guess API 🖧: \n- range: \n    ```java\n    float GUESS = (float)(ThreadLocalRandom.current().nextInt(-0x7fffffff,0x7fffffff))/10000.f;\n    ```\n- http://localhost:8080/greeting?number= `GUESS`\n- example: http://localhost:8080/greeting?number=-11.12\n### highscore API 🖧:\n- `float time`\n- `int tries`\n- add a score: [http://localhost:8080/score?tries=](_)`tries`[\u0026time=](_)`time`\n- read scores: http://localhost:8080/get_scores\n\n## used technoligies\n### backend 🖧:\n- 🍃spring boot\n- 🐘postgres / h2 in the past\n### frontend 🖥️:\n- html css javascript\n- ≈tailwind + dazyui\n### deployment\n- 🐋docker-compose\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztirom45%2Fguessnumberserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztirom45%2Fguessnumberserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztirom45%2Fguessnumberserver/lists"}