Giter Site home page Giter Site logo

golang-polymer-grpc-example-todo's Introduction

golang-polymer-grpc-example-todo

Is a training project for my students at Web Professionals.ch to train how to build a event-driven RESTFul microservice architecture with golang, grpc, nats, aws, google cloud engine, web-components,...

Prereqs

brew install protobuf

go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
go get -u github.com/golang/protobuf/protoc-gen-go

go get -u moul.io/protoc-gen-gotemplate

go get github.com/gogo/protobuf/protoc-gen-gogofast
go get github.com/gogo/protobuf/proto
go get github.com/gogo/protobuf/gogoproto

go get github.com/oklog/ulid
go get upper.io/db.v3
go get upper.io/db.v3/sqlite

OR to build protobuf from source, the following tools are needed:

  • autoconf
  • automake
  • libtool
  • make
  • g++
  • unzip

https://github.com/protocolbuffers/protobuf/blob/master/src/README.md

Install protobuf

mkdir tmp
cd tmp
git clone https://github.com/google/protobuf
cd protobuf
./autogen.sh
./configure
make
make check
sudo make install

built in Generators

To use `scripts/regenerateProto.sh for generating the proto stubs and the REST-grpc-REST transcoder from proto files install

go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/micro/protobuf/protoc-gen-go

go get github.com/gogo/protobuf/protoc-gen-gogofast 
go get github.com/gogo/protobuf/proto
go get github.com/gogo/protobuf/gogoproto

go get github.com/oklog/ulid
go get upper.io/db.v3
go get upper.io/db.v3/sqlite

To use scripts/midDemo.sh to generate protos install

go get github.com/veith/simple-generator

golang-polymer-grpc-example-todo's People

Contributors

veith avatar

Watchers

 avatar James Cloos avatar

golang-polymer-grpc-example-todo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.