Commit Graph

7 Commits

Author SHA1 Message Date
efim ed6d30ec42 models: separate backend room model
not viewable on front end, since doesn't have json codecs, yay!
2023-04-27 22:17:47 +04:00
efim ecb1717eb3 front: simple table control buttons 2023-04-27 11:57:20 +04:00
efim 9db42cb522 connect login and room pages via logged in state
moving websocket into being managed by the room component.
if the partent would want access to "user signal" it can ask via
observer.
that would mean bidirectionality, and i already hear screeching of my
intuitions from react, but maybe that's ok and in react i would still
scope the websocket to the room page, plus callbacks
2023-04-26 22:32:53 +04:00
efim 2244f38348 scalafmt all 2023-04-25 10:25:36 +04:00
efim 77b34a2ca7 change Map to List in model, scalajs didn't decode 2023-04-23 23:15:59 +04:00
efim df35f09b71 circe codec derivation to models 2023-04-23 15:00:00 +04:00
efim d8af92787d adding backend project
will try to do rest & websocket api with http4s
2023-04-23 11:19:38 +04:00