eddsalkield
St. Faith's School Song: my recollections
Randomness as in the case of Metronome can be decided upon in the same way that other move randomness is handled.
I've updated the post to reflect this - thanks!
Protécol – Zero-Trust Peer-to-Peer Pokémon Battle Protocol
Vibing Cat Synchroniser – Generating Memes Using Waveform Analysis
Where I think this could be taken to the next level of reusability is in modularising the front-end into API-specific components. For example, the login behaviour could depend on FastAPI-Users, with a sibling frontend library containing components that implement the same login flow. Adding user behaviour is then a matter of using the same third-party library on the front and back end.
This approach could be extended to other components such as an admin panel (perhaps using https://github.com/awtkns/fastapi-crudrouter), or a blogging component.
Since the design of FastAPI programs is often modular, with libraries and modules extending the API with additional routes, it seems to make sense to build front-end components according to the same module structure. I'm yet to see any of these for popular libraries, but I'd be up for helping build some in libraries like Vue.
Does anyone know of existing projects/server frameworks where backend modules are coupled with front-end components that consume their API?
It provides a users framework with OAuth2 integration, support for different ORM backends, and routes for authentication, verification, etc.
Full disclosure: I am a contributor to this project.