commit e62ba479e5cdd756fa0fa33449557ed90ea14986 Author: Ondřej Mekina Date: Tue Mar 4 11:22:53 2025 +0100 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..f95f275 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Zprávy zumepro + +## Návrh systému + +![diagram návrhu sysému](./docs/exports/system_arch.svg) diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..3a41be3 --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1 @@ +dst/ diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..807e3a6 --- /dev/null +++ b/docs/Makefile @@ -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 diff --git a/docs/exports/system_arch.svg b/docs/exports/system_arch.svg new file mode 100644 index 0000000..e971aa3 --- /dev/null +++ b/docs/exports/system_arch.svg @@ -0,0 +1 @@ +REST serverAPI na zprávyREST klient \ No newline at end of file diff --git a/docs/system_arch.dot b/docs/system_arch.dot new file mode 100644 index 0000000..393be60 --- /dev/null +++ b/docs/system_arch.dot @@ -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 +}