Adding a simple diagram so I don't forget what I'm doing later

This commit is contained in:
Collin Duncan 2022-10-23 11:54:59 +02:00
parent b8ff324d05
commit 5b1416d789
No known key found for this signature in database

View file

@ -22,3 +22,27 @@ Automatic court reservation!
npm install
npm run local <username> <password> <year> <month> <day> <startTime> <endTime> <opponentName> <opponentId>
```
## Architecture
```
|======|
| User |
|======|
|
[requests reservation]
|
|
V
|===========| /---\ |==========|
| Scheduler | ---[checks possibility]--->/ ok? \--[y/ forward request]--> | Reserver |
|===========| \ / |==========|
\---/ |
| |
[n/ save request] [find possible, saved reservations]
| |
V |
|==========| |
| Database |<---------------------------|
|==========|
```