Socket.ioのチュートリアル楽しかった。 docker使わなくてもNode.jsのclusterモジュール使えば複数のサーバー起動できるのねー ...
わけわからない状態でローカル環境を汚すのは避けたいので、 CodeSandboxを使用してサーバーを構築する。 Socket.IOはNode.js上で動くのでテンプレートはNode HTTP Serverを選択。 立ち上がったら、npm でexpressとsocket.ioをインストールしておく。 serve.js を作成 const ...
A hands-on guide to real-time communication on the web, built with Next.js, Socket.IO, and the browser's native WebRTC APIs. The app has three tabs you can explore one after the other. Each tab is a ...