okteto / microservices-demo-compose

Apache License 2.0
0 stars 1 forks source link

Microservices Demo

A demo application with Java, Go, Javascript, Kafka and PostgresQL.

Architecture

Architecture diagram

Run the demo application in Okteto

$ git clone https://github.com/okteto/microservices-demo-compose
$ cd microservices-demo-compose
$ okteto login
$ okteto deploy

Develop on the Result microservice

$ okteto up -f result/okteto.yml

Develop on the Vote microservice

$ okteto up -f vote/okteto.yml

Develop on the Worker microservice

$ okteto up -f worker/okteto.yml
$ make start

Notes

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.

This isn't an example of a properly architected perfectly designed distributed app... it's just a simple example of the various types of pieces and languages you might see (queues, persistent data, etc), and how to deal with them in Okteto.