This project has two parts: backend(go1.14) and frontend (angular10).
-
https://github.com/go-kit/kit GitHub - programming toolkit for building microservices
-
https://github.com/metaverse/truss GitHub - boilerplate code generation for go-kit
-
https://github.com/envoyproxy/envoy GitHub - api gateway
-
https://github.com/grpc/grpc-go GitHub - go grpc
-
https://github.com/ngx-grpc/ngx-grpc GitHub - grpc-web for angular
-
Docker, docker-compose
docker-compose up -d
- For test backend you must create cli client command
make client
in backend/history and backend/calculator - Checking:
./client add 4 6
must returnResponse result:10
and./client all
->Response result for get all:[id:"54760c28-d5cd-4c5b-a3a7-89e69fc705e2" name:"add" a:4 b:6 result:10 time:"2020-09-03 03:45:48.006184786 +0000 UTC m=+443.824024003" ]
- In front/grpc-web/ directory
ng serve
and go to http://localhost:4200/