Skip to content

Cdingram/chat-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple WebSocket Chat Backend

This is a basic WebSocket chat backend implemented in Rust. It allows multiple clients to connect and exchange messages in real-time.

Features

  • Handles WebSocket connections
  • Broadcasts messages to all connected clients
  • Lightweight and fast

Prerequisites

  1. Install Rust (latest stable version).
  2. Ensure cargo is available in your environment.

Getting Started

git clone https://github.com/Cdingram/chat-backend.git
cd chat-backend
cargo run

Build and run the project, the WebSocket server will start on ws://127.0.0.1:8080/ws/. You can connect to it using any WebSocket client or the given index.html to test.

About

Simple websocket chat backend written in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published