Archived
3
0

sketch the news module architecture (#2)

* make rough news module structure prototype

* update generic structure

* remove auth from news module structure
This commit is contained in:
2025-03-12 22:42:06 +01:00
parent 3ecdfa1c02
commit c6352dd28c
6 changed files with 58 additions and 8 deletions

23
docs/news_module.dot Normal file
View File

@@ -0,0 +1,23 @@
digraph newsmod {
rankdir=TD;
graph [fontname="arial"];
node [fontname="arial"];
edge [fontname="arial"];
USER [label="User"]
STOCK [label="Stock module"]
HTTP [shape=box3d,label="HTTP server (inferium)"]
REST [shape=box3d,label="REST server (inferium)"]
DB [shape=box,label="Database (sled)"]
CORE [shape=box,label="Logic core"]
NEWS [label="External news API"]
AI [shape=box,label="Sentiment analyzer (VADER)"]
USER -> HTTP
USER -> STOCK
STOCK -> REST
CORE -> DB [style="dashed"]
REST -> CORE [style="dashed"]
HTTP -> CORE [style="dashed"]
CORE -> NEWS
CORE -> AI [style="dashed"]
}