Skip to content

ahmdatef/mini-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-exchange

A simple stocks exchange api

Run

Using existing docker-compose.yml file

docker-compose up -d

Docs

Run docker-compose and check http://localhost:8000/docs

Test

PYTHONPATH=./src python -m unittest discover -s tests

Technical Details

Diagram

image

Components

  1. streamer emulates stock update events and publishes them on a vernemq topic.
  2. worker consumes streamer events from vernemq topic using eventsourcing.
  3. web provides API to handle different user requests and connects to the same event store to sync with the latest updates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors