From 5b1416d789bd40dd1850a7bc28ea06e0e2c428cc Mon Sep 17 00:00:00 2001 From: Collin Duncan <3679940+cgduncan7@users.noreply.github.com> Date: Sun, 23 Oct 2022 11:54:59 +0200 Subject: [PATCH] Adding a simple diagram so I don't forget what I'm doing later --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 042a28f..d955ec8 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,28 @@ Automatic court reservation! ```bash npm install npm run local +``` + +## Architecture + +``` +|======| +| User | +|======| + | +[requests reservation] + | + | + V +|===========| /---\ |==========| +| Scheduler | ---[checks possibility]--->/ ok? \--[y/ forward request]--> | Reserver | +|===========| \ / |==========| + \---/ | + | | + [n/ save request] [find possible, saved reservations] + | | + V | + |==========| | + | Database |<---------------------------| + |==========| ``` \ No newline at end of file