Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saputhebeast/java-springboot-grpc
Spring Boot gRPC Example
https://github.com/saputhebeast/java-springboot-grpc
grpc grpc-java grpc-server mysql rpc spring-boot spring-boot-grpc
Last synced: about 2 months ago
JSON representation
Spring Boot gRPC Example
- Host: GitHub
- URL: https://github.com/saputhebeast/java-springboot-grpc
- Owner: saputhebeast
- Created: 2024-10-21T09:25:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T14:52:39.000Z (3 months ago)
- Last Synced: 2024-10-28T06:31:12.368Z (3 months ago)
- Topics: grpc, grpc-java, grpc-server, mysql, rpc, spring-boot, spring-boot-grpc
- Language: Java
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# To create an employee
```
grpcurl -plaintext -d '{"name": "John Doe", "position": "Developer"}' localhost:9090 com.example.grpc.EmployeeService/CreateEmployee
```# To get an employee by id
```
grpcurl -plaintext -d '{"id": 1}' localhost:9090 com.example.grpc.EmployeeService/GetEmployee
```# To get all employees
```
grpcurl -plaintext localhost:9090 com.example.grpc.EmployeeService/GetAllEmployees
```