Websockets Journey

I'm making starters as I make my way through a @fastify/websocket and Websockets API journey

    hello-fastify-websocket

    A starter websocket app using @fastify/websocket

    This is my first starter, it simply has the client and server send a message to each other. The server broadcasts to all clients how many of them are there whenever anyone joins or leaves.

      hello-fastify-websocket-pt2

      A starter websocket app using @fastify/websocket - this one showing a cursor trail of heart emojis. I remixed this from ~hello-fastify-websockets

      This is the second starter I made, a remix of ~hello-fastify-websocket. Instead of broadcasting the number of clients, the server instead keeps an object tracking each unique client and what emoji and cursor position they are at. With this object received by a client, it can then render the presence of all the clients actively on the page.

        presents-or-bugs

        A websockets app where YOU decide Jenn's mood based on whether you are a present or a roach #codejam #giftgiving

          robomotion-receiver

          a starter app for receiving emotions from https://robomotion.glitch.me

            robomotion

            robomotion detector