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:
23
docs/news_module.dot
Normal file
23
docs/news_module.dot
Normal 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"]
|
||||
}
|
Reference in New Issue
Block a user