{"id":16534637,"url":"https://github.com/hardyscc/axon-graphql-starter","last_synced_at":"2026-05-13T02:31:52.721Z","repository":{"id":41763419,"uuid":"311923815","full_name":"hardyscc/axon-graphql-starter","owner":"hardyscc","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-29T01:51:55.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T14:11:50.482Z","etag":null,"topics":[],"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/hardyscc.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":"2020-11-11T09:34:53.000Z","updated_at":"2022-04-29T01:51:59.000Z","dependencies_parsed_at":"2022-08-11T15:51:54.595Z","dependency_job_id":null,"html_url":"https://github.com/hardyscc/axon-graphql-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hardyscc/axon-graphql-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardyscc%2Faxon-graphql-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardyscc%2Faxon-graphql-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardyscc%2Faxon-graphql-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardyscc%2Faxon-graphql-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardyscc","download_url":"https://codeload.github.com/hardyscc/axon-graphql-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardyscc%2Faxon-graphql-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32965213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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-10-11T18:24:51.788Z","updated_at":"2026-05-13T02:31:52.704Z","avatar_url":"https://github.com/hardyscc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# axon-graphql-spl\n\n## start supporting servers\n\n```shell script\ndocker run -d --name some-axon-server -p 8024:8024 -p 8124:8124 axoniq/axonserver   \ndocker run -d -e \"MYSQL_ROOT_PASSWORD=Admin12345\" -e \"MYSQL_USER=usr\" -e \"MYSQL_PASSWORD=User12345\" -e \"MYSQL_DATABASE=development\" -e \"MYSQL_AUTHENTICATION_PLUGIN=mysql_native_password\" -p 3306:3306 --name some-mysql bitnami/mysql:8.0.19\n```\n\n## stop supporting servers\n\n```shell script\ndocker stop some-axon-server; docker rm some-axon-server\ndocker stop some-mysql; docker rm some-mysql\n```\n\n## Testing\n\n### Command\n\n```shell script\ncurl -X POST 'http://localhost:8080/hospital' -H 'Content-Type: application/json' \\\n  -d '{ \"hospCode\": \"VH\" }'\n\ncurl -X POST 'http://localhost:8080/hospital/VH' -H 'Content-Type: application/json' \\\n  -d '{ \"wardCode\": \"A1\" }'\n\ncurl -X POST 'http://localhost:8080/hospital/VH/ward/A1' -H 'Content-Type: application/json' \\\n  -d '{ \"bedNum\": 12 }'\n\ncurl -X POST 'http://localhost:8080/patient' -H 'Content-Type: application/json' \\\n  -d '{ \"hkid\": \"A1234563\", \"name\": \"Mary\" }'\n\ncurl -X POST 'http://localhost:8080/hospital/VH/ward/A1/checkIn' -H 'Content-Type: application/json' \\\n  -d '{ \"hkid\": \"A1234563\", \"bedNum\": 12 }'\n```\n\n```Graph QL\nsubscription {\n  notification\n}\n\nmutation {\n  createHospital(input: { hospCode: \"VH\" })\n}\n\nmutation {\n  addWard(hospCode: \"VH\", input: { wardCode: \"A1\" }) {\n    wardCode\n  }\n}\n\nmutation {\n  addBed(hospCode: \"VH\", wardCode: \"A1\", input: { bedNum: 12 }) {\n    bedNum\n  }\n}\n\n\nmutation {\n  createPatient(input: { hkid: \"A1234563\", name: \"Mary\" })\n}\n\nmutation {\n  checkIn(\n    hospCode: \"VH\"\n    wardCode: \"A1\"\n    input: { hkid: \"A1234563\", bedNum: 12 }\n  ) {\n    hkid\n    bedNum\n  }\n}\n```\n\n### Query\n\n```shell script\ncurl -X GET 'http://localhost:8080/hospital/VH'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardyscc%2Faxon-graphql-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardyscc%2Faxon-graphql-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardyscc%2Faxon-graphql-starter/lists"}