Skip to content

Commit

Permalink
Merge pull request #23 from Rukenshia/update-architecture-diagram
Browse files Browse the repository at this point in the history
Update architecture diagram, use embedded drawio file
  • Loading branch information
Rukenshia authored Oct 19, 2021
2 parents 0ed90e2 + 52cd321 commit 75dd1a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ It has been modified to allow other resources as well, the frontend is currently

## Architecture

![Architecture diagram](./docs/architecture.png)
![Architecture diagram](./docs/architecture.drawio.png)

The architecture is built on a serverless project. Users navigate to a single page application, and then have to
log in to their realm on the Wargaming website.
Expand All @@ -25,6 +25,12 @@ The redirect URL is built with several query parameters:
`token`: the jwt
`dataURL`: the data url for a subscribers data

### Global Statistics

Every few hours, a lambda function is invoked by a CloudWatch Event (Scheduled Event). The lambda iterates through all objects in the
`subscribers` S3 bucket and generates statistics about the resources that can be earned globally and how much was already
received by players.

### Refreshing

There are two ways of getting data refreshed. One is a manual "Refresh now" button on the frontend, and the other is through automated data renewal
Expand Down
Binary file added docs/architecture.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/architecture.png
Binary file not shown.

0 comments on commit 75dd1a1

Please sign in to comment.