StealthOrc / cult-pardy

A (hopfeully) self-hosted and customizable jeopardy web app.
MIT License
2 stars 1 forks source link

App: Jeopardy Board with yew #1

Open StealthOrc opened 3 months ago

StealthOrc commented 3 months ago

@Shiirroo did a test frontend in svelte. this needs to be converted over to yew and then removed. A test websocket is already in use and should be used for proof of concept.

StealthOrc commented 3 months ago

TODO: need to add a call to /session to get a session id when a page is being loaded and hand that session id(either already existing, read from cookie, or generate a new one and write it to cookie) to the websocket.

StealthOrc commented 3 months ago

Shiirroo already implemented the session request via backend (request.set_cookie())

StealthOrc commented 3 months ago

see commit dc4d62a3fe300b72e5ab1b3c3297f726711dbbf7 : websocket is not yet being called after routing. before websocket was called from the getgo of the app, but this is wrong,