Archived
3
0

initial commit

This commit is contained in:
2025-03-04 11:22:53 +01:00
commit e62ba479e5
5 changed files with 40 additions and 0 deletions

5
README.md Normal file
View File

@@ -0,0 +1,5 @@
# Zprávy zumepro
## Návrh systému
![diagram návrhu sysému](./docs/exports/system_arch.svg)

1
docs/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
dst/

22
docs/Makefile Normal file
View File

@@ -0,0 +1,22 @@
.PHONY: build
build: dst .WAIT \
dst/system_arch.svg
export: exports .WAIT \
exports/system_arch.svg
dst:
mkdir dst
exports:
mkdir exports
dst/%.svg: %.dot
dot -Tsvg $< > $@
exports/%.svg: dst/%.svg
svgcleaner $< $@
.PHONY: clean
clean:
rm -rf dst

View File

@@ -0,0 +1 @@
<svg height="188pt" viewBox="0 0 141.07 188" width="141pt" xmlns="http://www.w3.org/2000/svg"><g transform="translate(4 184)"><path d="m-4 4v-188h141.07v188z" fill="#fff"/><g fill="none"><path d="m113.16-108h-89.25l-4 4v32h89.25l4-4z" stroke="#000"/><path d="m109.16-104h-89.25" stroke="#000"/><path d="m109.16-104v32" stroke="#000"/><path d="m109.16-104 4-4" stroke="#000"/></g><text font-family="arial" font-size="14" text-anchor="middle" x="66.53" y="-84.58">REST server</text><ellipse cx="66.53" cy="-18" fill="none" rx="66.53" ry="18" stroke="#000"/><text font-family="arial" font-size="14" text-anchor="middle" x="66.53" y="-12.57">API na zprávy</text><path d="m66.53-71.7v24.16" fill="none" stroke="#000"/><path d="m70.03-47.62-3.5 10-3.5-10z" stroke="#000"/><path d="m110.16-180h-87.25v36h87.25z" fill="none" stroke="#000"/><text font-family="arial" font-size="14" text-anchor="middle" x="66.53" y="-156.57">REST klient</text><path d="m66.53-143.7v24.16" fill="none" stroke="#000"/><path d="m70.03-119.62-3.5 10-3.5-10z" stroke="#000"/></g></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

11
docs/system_arch.dot Normal file
View File

@@ -0,0 +1,11 @@
digraph sysdiag {
graph [fontname="arial"];
node [fontname="arial"];
edge [fontname="arial"];
RS [shape=box3d,label="REST server"]
ZA [label="API na zprávy"]
RS -> ZA
RC [shape=box,label="REST klient"]
RC -> RS
}