All Projects → strongloop → loopback-example-polyglot

strongloop / loopback-example-polyglot

Licence: other
Example LoopBack application with polyglot runtimes

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
swift
15916 projects
shell
77523 projects
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to loopback-example-polyglot

tapper
Zipkin client for Elixir
Stars: ✭ 68 (+385.71%)
Mutual labels:  zipkin
envoy-proxy-demos
Set of Envoy Proxy feature demos (Envoy v2 API supported)
Stars: ✭ 63 (+350%)
Mutual labels:  zipkin
Petabridge.Tracing.Zipkin
Professionally supported Zipkin + OpenTracing driver in C#
Stars: ✭ 35 (+150%)
Mutual labels:  zipkin
spring-microservices
Spring Cloud Micro Services with Eureka Discovery, Zuul Proxy, OAuth2 Security, Hystrix CircuitBreaker, Sleuth Zipkin, ELK Stack Logging, Kafka, Docker and many new features
Stars: ✭ 114 (+714.29%)
Mutual labels:  zipkin
acme-freight
Acme Freight's Logistics Wizard application is composed of several microservices, including three Cloud Foundry applications, LoopBack, API Connect, and multiple Cloud Function actions.
Stars: ✭ 43 (+207.14%)
Mutual labels:  loopback
examples
MetaCall Examples - A collection of use cases and examples to be deployed in MetaCall.
Stars: ✭ 18 (+28.57%)
Mutual labels:  polyglot
sample-envoy-proxy
custom implementation of service discovery with envoy and inter-service communication for spring-boot applications
Stars: ✭ 29 (+107.14%)
Mutual labels:  zipkin
brave-kafka-interceptor
Kafka Interceptor for Zipkin
Stars: ✭ 30 (+114.29%)
Mutual labels:  zipkin
sample-micronaut-microservices
sample micronaut application illustrates using basic microservices patterns like distributed configuration and service discovery with Consul, distributed tracing with Zipkin, inter-service communication with micronaut http client
Stars: ✭ 38 (+171.43%)
Mutual labels:  zipkin
tictactoe-microservices-example
An example of Spring Cloud Microservices application based on books (see Links section)
Stars: ✭ 23 (+64.29%)
Mutual labels:  zipkin
logistics-wizard
The Logistics Wizard is an end-to-end, smart supply chain management solution that showcases how to execute hybrid cloud, microservices, and predictive data analytics in the real world.
Stars: ✭ 99 (+607.14%)
Mutual labels:  loopback
loopback-object-acl
Object-level ACL for Loopback Node.js framework
Stars: ✭ 13 (-7.14%)
Mutual labels:  loopback
loopback-component-visualizer
Visualize your models and their relationships like ER diagram
Stars: ✭ 38 (+171.43%)
Mutual labels:  loopback
loopback-next
LoopBack makes it easy to build modern API applications that require complex integrations.
Stars: ✭ 4,412 (+31414.29%)
Mutual labels:  loopback
go-distsys
Distributed Systems programming examples in the Go programming language.
Stars: ✭ 101 (+621.43%)
Mutual labels:  zipkin
appmetrics-zipkin
Provide zipkin integration from appmetrics
Stars: ✭ 63 (+350%)
Mutual labels:  zipkin
redux-polyglot
Polyglot.js bindings for Redux
Stars: ✭ 59 (+321.43%)
Mutual labels:  polyglot
e-shop
Sample Spring Cloud microservices e-shop.
Stars: ✭ 48 (+242.86%)
Mutual labels:  zipkin
zipkin-php-example
See how much time php services spend on an http request
Stars: ✭ 52 (+271.43%)
Mutual labels:  zipkin
polyglot
Create websites using any mix of programming languages or workflows 💎
Stars: ✭ 79 (+464.29%)
Mutual labels:  polyglot

loopback-example-polyglot

⚠️ This LoopBack 3 example project is no longer maintained. Please refer to LoopBack 4 Examples instead. ⚠️

PoC project to illustrate how to create polyglot APIs and Microservices using LoopBack and gRPC.

Modules

  • Apps
    • note-java: Java implementation of note encryption
    • note-swift: Swift implementation of note translation
    • note-loopback: Sample LoopBack application to demonstrate gRPC integration
  • Tools
    • grpc-swagger: Generate swagger spec from gRPC proto document and vice versa
    • loopback-connector-grpc: LoopBack connector for gRPC services

Demo

Docker Containerization

  • note-loopback (Node.js)
  • note-java (Java)
  • note-swift (Swift)
  • note-mongo (MongoDB)
  • openzipkin/zipkin (zipkin)

DockerCompose

Running with docker-compose

$ docker-compose up --build

Open your browser and point to http://localhost:3000/explorer to test drive:

  1. Create a new note with POST /notes.
  2. The note-loopback microservice will request the note-swift microservice to translate the content (mockup).
  3. The note-loopback microservice will request the note-java microservice to encrypt the content using JWE.
  4. Tracing metrics are sent to zipkin server. The dashboard is available at http://localhost:9411.
  5. You can also run clients from the host, for example:
$ cd note-loopback
$ node client.js

or 

$ cd note-java
$ java -cp ./target/note-1.0.0.jar com.ibm.apiconnect.demo.polyglot.NoteClient

Running as local Kubernetes (minikube)

Please follow instructions at https://github.com/kubernetes/minikube to install minikube and kubectl commands.

cd kubernetes
./create-k8s.sh

k8s

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].