A simple todo app using gRPC on both the server and client side
Code for the article A TODO app using grpc-web and Vue.js
git clone git@github.com:thearavind/grpc-todo.git
brew install protobuf
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
# Unzip
unzip protoc-3.6.1-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
sudo mv protoc3/include/* /usr/local/include/
go get -u github.com/golang/protobuf/protoc-gen-go
git clone https://github.com/grpc/grpc-web /tmp/grpc-web
cd /tmp/grpc-web && sudo make install-plugin
rm -rf /tmp/grpc-web
cd -
go run server.go
sudo -E docker build -t envoy:v1 .
sudo docker run -p 8080:8080 --net=host envoy:v1
cd todo-client/
yarn serve
docker-compose build
docker-compose up