{"id":17471184,"url":"https://github.com/vladimir-dejanovic/grpc-bank-example","last_synced_at":"2025-03-17T20:30:53.692Z","repository":{"id":123190069,"uuid":"124695419","full_name":"vladimir-dejanovic/grpc-bank-example","owner":"vladimir-dejanovic","description":"This is example used in my talk REST API vs gRPC. Simple example of Bank backend in gRPC with JavaFX notification client","archived":false,"fork":false,"pushed_at":"2018-09-23T12:10:15.000Z","size":27,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T03:41:49.144Z","etag":null,"topics":["grpc","grpc-java","java","javafx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vladimir-dejanovic.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":"2018-03-10T20:20:54.000Z","updated_at":"2023-08-28T07:04:05.000Z","dependencies_parsed_at":"2023-06-19T16:28:45.388Z","dependency_job_id":null,"html_url":"https://github.com/vladimir-dejanovic/grpc-bank-example","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/vladimir-dejanovic%2Fgrpc-bank-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimir-dejanovic%2Fgrpc-bank-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimir-dejanovic%2Fgrpc-bank-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimir-dejanovic%2Fgrpc-bank-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladimir-dejanovic","download_url":"https://codeload.github.com/vladimir-dejanovic/grpc-bank-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878488,"owners_count":20362433,"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":["grpc","grpc-java","java","javafx"],"created_at":"2024-10-18T16:29:30.571Z","updated_at":"2025-03-17T20:30:53.687Z","avatar_url":"https://github.com/vladimir-dejanovic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README #\n\nThis is example code used in my talk REST API vs gRPC.\n\nThis is just show case example to demonstrate gRPC and some of it's functionalities. This code shouldn't be used in real production systems.\n\n\n### How do I get set up? ###\n\n* Java 1.8 minimum\n* Maven or some IDE from which you can build code\n\nAfter you download the code just build it and make sure it will compile with your setup\n\n```\nmvn clean install\n```\n\n### How to start it?\n\nThis example consists of example gRPC Bank Server which expose multiple services and gRPC clients for calling those services. \n\n\nTo Start Bank server run this command\n\n```\n  mvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.BankServer\n```\n\nNotifications Console Client \n\n```\nmvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.client.NotificationsConsoleClient -Dexec.args=\"1\"\nmvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.client.NotificationsConsoleClient -Dexec.args=\"2\"\n```\n\nNotifications JavaFX client\n\n```\nmvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.client.NotificationsJavaFXClient\n```\n\nTransfer money from account 1 to account 2\n\n```\nmvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.client.TransferClient\n```\n\nTo request transfer run this command\n\n```\nmvn exec:java -Dexec.mainClass=xyz.itshark.play.rpc.grpc.bank.client.RequestClient\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladimir-dejanovic%2Fgrpc-bank-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladimir-dejanovic%2Fgrpc-bank-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladimir-dejanovic%2Fgrpc-bank-example/lists"}