Study Duel

Study Duel is a realtime quiz platform that combines conventional API flows with websocket-driven duel state.

Architecture

Why it matters in this vault

This project captures a useful extension of the standard Vue and FastAPI stack: realtime sessions, websocket auth handoff, and operational routing for mixed SPA, API, and websocket traffic.

Reusable patterns

  • combine normal REST-style APIs with a dedicated websocket channel
  • keep durable application state in relational storage and ephemeral coordination in Redis
  • route websocket and HTTP traffic under one proxy boundary