This repo is intended to show an example of a websocket chat app created using React and Rust.
Check out the live deployment here.
Run the following commands below:
npm i
npm run dev
This installs all dependencies and runs both of the React and Rust programs. Bear in mind that for a first-time execution, you'll have to wait for Cargo to build.
Now go to http://localhost:5173 and try entering a name, then typing in some messages.