CaptainCodeman / svelte-api-keys

API Key Generation, Validation, and Rate Limiting for SvelteKit
https://captaincodeman.github.io/svelte-api-keys/
37 stars 2 forks source link

Emulate Requests for Demo #6

Closed CaptainCodeman closed 7 months ago

CaptainCodeman commented 7 months ago

Demo doesn't need to be making real http requests, which then require a backend.

It can use the pieces to emulate making requests, which would also allow it to visualize the operation of the token buckets and permission checks.

More importantly, it can then the run completely client-side so it wouldn't require a real back-end and could be run on GitHub Pages.

CaptainCodeman commented 7 months ago

Visualization works to show operation of token-bucket