[Updated] Frontend now uses categories retrieved from the backend

This commit is contained in:
Ninjaws
2024-11-03 13:29:52 +01:00
parent c26c298a41
commit b82dfdbe17
12 changed files with 80 additions and 58 deletions
+11 -1
View File
@@ -35,4 +35,14 @@ sudo reboot
```bash
docker compose up
```
- Visit localhost:4200 to play the quiz!
- Visit localhost:4200 to play the quiz!
## Benchmarking
- Go to the /scripts folder and run the LoadTestMultiple.sh script
- Inside you can change how many sessions should be created (set to 6 by default)
## Notes
- If the data is not present, it will try to query it from the external API, which takes significantly longer (only 1 request per 5 seconds)
- When running it locally, give the backend a few minutes to gather data in bulk (should be completely done in ~7 minutes)
- It refreshes this data every night in the background, so it stays up to date