https://github.com/andersinno/microservice_kubernetes_webinar
https://github.com/andersinno/microservice_kubernetes_webinar
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andersinno/microservice_kubernetes_webinar
- Owner: andersinno
- Created: 2020-12-16T10:36:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T10:40:40.000Z (over 5 years ago)
- Last Synced: 2025-01-19T07:25:09.233Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.