joshua-mo-143 / react-websocket-chat-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websocket Chat App Example - React + Rust

This repo is intended to show an example of a websocket chat app created using React and Rust.

Live Deployment

Check out the live deployment here.

How To Use

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.

About


Languages

Language:TypeScript 45.8%Language:Rust 42.8%Language:HTML 5.5%Language:CSS 3.8%Language:JavaScript 2.0%