Adding a simple diagram so I don't forget what I'm doing later
This commit is contained in:
parent
b8ff324d05
commit
5b1416d789
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
|
@ -22,3 +22,27 @@ Automatic court reservation!
|
||||||
npm install
|
npm install
|
||||||
npm run local <username> <password> <year> <month> <day> <startTime> <endTime> <opponentName> <opponentId>
|
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 |<---------------------------|
|
||||||
|
|==========|
|
||||||
|
```
|
||||||
Loading…
Add table
Reference in a new issue