{"id":16119449,"url":"https://github.com/codingchili/chili-core-examples","last_synced_at":"2025-04-06T10:19:20.356Z","repository":{"id":87434142,"uuid":"73514540","full_name":"codingchili/chili-core-examples","owner":"codingchili","description":"Example services using the chili-core.","archived":false,"fork":false,"pushed_at":"2019-07-04T18:52:10.000Z","size":12617,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-12T15:51:49.618Z","etag":null,"topics":["chili-core","examples"],"latest_commit_sha":null,"homepage":null,"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/codingchili.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":"2016-11-11T21:56:56.000Z","updated_at":"2019-09-22T23:13:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ed49515-6d15-45ed-afc5-9b2c0bdaf241","html_url":"https://github.com/codingchili/chili-core-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Fchili-core-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Fchili-core-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Fchili-core-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Fchili-core-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingchili","download_url":"https://codeload.github.com/codingchili/chili-core-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464376,"owners_count":20943000,"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":["chili-core","examples"],"created_at":"2024-10-09T20:54:10.671Z","updated_at":"2025-04-06T10:19:20.335Z","avatar_url":"https://github.com/codingchili.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chili-core-examples [![Build Status](https://travis-ci.org/codingchili/chili-core-examples.svg?branch=master)](https://travis-ci.org/codingchili/chili-core-examples)\n\nAn example highscore service using chili-core.\n\n\n# Building\nTo build the jar, run\n```console\n./gradlew build\n```\n\nThis runs the tests and creates a jar-file under `build/libs/`.\n\nStart the jar with,\n```console\n$ java -jar chili-core-samples.jar\nSTARTUP [14:48:53.861] service.start   [SystemContext  ] name=com.codingchili.highscore.Service\nSTARTUP [14:48:54.279] listener.start  [HighscoreContext] handler=HighscoreHandler@api port :8080\n```\n\n# Testing\n\nTo retrieve the current highscore listing,\n```console\ncurl http://localhost:8080/api/list\n```\n\nTo update the highscore list,\n```console\ncurl http://localhost:8080/api/update -d '{\"player\": \"robin\", \"score\": 500}'\n```\n\n\n---\nFind other projects that use chili-core here: [topics/chili-core](https://github.com/topics/chili-core).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingchili%2Fchili-core-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingchili%2Fchili-core-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingchili%2Fchili-core-examples/lists"}