mghhrn / grpc-crud

GRPC CRUD sample with Spring integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Module

  • interceptor enhancement : register an interceptor with annotation.
@Component
@GServerInterceptor(AuthenticationServerInterceptor.class)
@GServerInterceptor(LogServerInterceptor.class)
public class PersonServiceImpl extends PersonServiceImplBase {}
  • Spring/JPA integration

Client Module

can be anything including primefaces, spring boot etc

  • json serialization

proto

contains all proto file generates java code

How to build

  1. build proto project (cd grpc-proto)
mvn clean install
  1. build grpc-server
  2. build grpc-client

About

GRPC CRUD sample with Spring integration


Languages

Language:Java 99.2%Language:HTML 0.8%