<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Websocket on Momori Nakano</title><link>https://momori.dev/tags/websocket/</link><description>Recent content in Websocket on Momori Nakano</description><generator>Hugo -- 0.147.0</generator><language>en-us</language><lastBuildDate>Mon, 22 Apr 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://momori.dev/tags/websocket/index.xml" rel="self" type="application/rss+xml"/><item><title>Step-by-Step Guide to Building a WebSocket Chat App with Axum and React</title><link>https://momori.dev/posts/building-a-websocket-chat-app-with-axum-and-react/</link><pubDate>Mon, 22 Apr 2024 00:00:00 +0000</pubDate><guid>https://momori.dev/posts/building-a-websocket-chat-app-with-axum-and-react/</guid><description>&lt;p>In this guide, we&amp;rsquo;ll walk through the process of creating a full-stack chat app using WebSocket. Our backend will be built with &lt;a href="https://github.com/tokio-rs/axum">Axum&lt;/a>, a powerful Rust backend framework, and &lt;a href="https://www.shuttle.rs/">Shuttle&lt;/a>, a development platform, while the frontend will be developed using &lt;a href="https://react.dev/">React&lt;/a> and &lt;a href="https://vitejs.dev/">Vite&lt;/a>.&lt;/p>
&lt;p>We&amp;rsquo;ll cover&lt;/p>
&lt;ul>
&lt;li>Utilizing WebSocket in Axum and React.&lt;/li>
&lt;li>Generating unique identifiers using nanoid.&lt;/li>
&lt;li>Incorporating telemetry with tracing for enhanced logging.&lt;/li>
&lt;/ul>
&lt;p>You can find the complete code for this project on &lt;a href="https://github.com/momori256/fullstack-wschat">GitHub&lt;/a>.&lt;/p>
&lt;h2 id="setup">Setup&lt;/h2>
&lt;p>Let&amp;rsquo;s start by creating a new repository for this project:&lt;/p></description></item></channel></rss>