{"id":15816497,"url":"https://github.com/lbroudoux/cloud-tradegame","last_synced_at":"2026-05-05T14:33:32.659Z","repository":{"id":145929702,"uuid":"563386567","full_name":"lbroudoux/cloud-tradegame","owner":"lbroudoux","description":"A Trading Game to deploy on Google Cloud on multi-clusters / multi-clouds mode","archived":false,"fork":false,"pushed_at":"2022-11-23T16:18:54.000Z","size":169,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T05:04:37.839Z","etag":null,"topics":["google-pubsub","kubernetes","quarkus","redis"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lbroudoux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-11-08T14:04:09.000Z","updated_at":"2022-11-08T14:10:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecb8dc3a-a602-4e22-bc9b-984cf43b6c52","html_url":"https://github.com/lbroudoux/cloud-tradegame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lbroudoux/cloud-tradegame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbroudoux%2Fcloud-tradegame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbroudoux%2Fcloud-tradegame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbroudoux%2Fcloud-tradegame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbroudoux%2Fcloud-tradegame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lbroudoux","download_url":"https://codeload.github.com/lbroudoux/cloud-tradegame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbroudoux%2Fcloud-tradegame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32653579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["google-pubsub","kubernetes","quarkus","redis"],"created_at":"2024-10-05T05:04:39.293Z","updated_at":"2026-05-05T14:33:32.643Z","avatar_url":"https://github.com/lbroudoux.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n```sh\n$ gcloud iam service-accounts create tradegame-pubsub-sa \\\n  --description=\"Service Account for accessing PubSub from quotegame\"\n\n$ PROJECT=cloud-tradegame\n\n# Directly put the sa as editor as we need to publish, subscribe and also create subscriptions.    \n$ gcloud projects add-iam-policy-binding $PROJECT \\\n    --member=serviceAccount:tradegame-pubsub-sa@$PROJECT.iam.gserviceaccount.com\\\n    --role=roles/pubsub.editor\n```\n\n```sh\n$ curl localhost:8080/api/quote/CYB\n140.57                                                                                                                                                                                              \n\n$ curl localhost:8080/api/quote/TYR\n187.71\n\n$ curl localhost:8080/api/user -XPOST -H 'Content-type: application/json' \\\n  -d '{\"name\":\"lbroudoux\", \"email\":\"lbroudoux@google.com\"}' -s | jq\n  \n$ curl localhost:8080/api/portfolio -s | jq\n[\n  {\n    \"username\": \"lbroudoux\",\n    \"money\": 1000,\n    \"quotes\": {}\n  }\n]\n\n$ curl localhost:8080/api/order -XPOST -H 'Content-type: application/json' \\\n  -d '{\"username\":\"lbroudoux\",\"orderType\":\"BUY\",\"timestamp\":1665130686122,\"quote\":\"TYR\",\"price\":187.71,\"number\":1}' -s | jq\n```\n\n\n```shell\n$ curl localhost:8083/api/order -XPOST -H 'Content-type: application/json' \\\n  -d '{\"username\":\"lbroudoux\",\"orderType\":\"BUY\",\"timestamp\":1665130686122,\"quote\":\"TYR\",\"price\":187.71,\"number\":1}' -s | jq\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbroudoux%2Fcloud-tradegame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbroudoux%2Fcloud-tradegame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbroudoux%2Fcloud-tradegame/lists"}