Skip to content

andersinno/microservice_kubernetes_webinar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kolga Microservice Demo

This project consist of three (3) services. They all talk to each other either over an API or AMQP.

Scores API

An API written in FastAPI that provides the following endpoints:

GET /scores - Get scores from the database POST /scores - {score: , user: } - Create new scores into the database

Dataflow

When new data comes in from a POST call to the REST api, that data is pushed on a queue to RabbitMQ over AMQP.

Reporter Frontend

A webpage rendered with FastAPI and a WebSocket server that the rendered webpage uses for live updates of scores.

Dataflow

Initial data pull happens by pulling scores from the Scores API. This happens over a GET HTTP call.

New content is pulled in over AMQP from RabbitMQ. When new data comes in on the queue that content is pushed to the HTTP page over a websocket.

Slack Poster

A background service without a frontend that posts new scores to Slack.

Dataflow

New content is pulled in over AMQP from RabbitMQ. When new data comes in on the queue that content is pushed Slack through their REST API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published