From e62ba479e5cdd756fa0fa33449557ed90ea14986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Mekina?= Date: Tue, 4 Mar 2025 11:22:53 +0100 Subject: [PATCH] initial commit --- README.md | 5 +++++ docs/.gitignore | 1 + docs/Makefile | 22 ++++++++++++++++++++++ docs/exports/system_arch.svg | 1 + docs/system_arch.dot | 11 +++++++++++ 5 files changed, 40 insertions(+) create mode 100644 README.md create mode 100644 docs/.gitignore create mode 100644 docs/Makefile create mode 100644 docs/exports/system_arch.svg create mode 100644 docs/system_arch.dot 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 +}