Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```