Skip to content

A real-time broadcast server implementation using WebSocket protocol. This server supports user authentication, real-time messaging, and user status tracking.

License

Notifications You must be signed in to change notification settings

garyeung/broadcast_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broadcast Server

(https://roadmap.sh/projects/broadcast-server)
A real-time broadcast server implementation using WebSocket protocol.
This server supports user authentication, real-time messaging, and user status tracking.

Features

  • Real-time WebSocket communication
  • Username-based authenticaiton
  • User presence trakcing (join/leave notifications)
  • Broadcast messaging system
  • Connection state mamagement
  • Error handling and connection recovery
  • TypeScript support

Prerequisites

  • Node.js (latest)
  • npm or yarn
  • TypeScript

Installation

git clone https://github.com/garyeung/broadcast_server.git 

cd broadcast_server 
 
npm install 

Usages

# development
$ npm run dev 

# build
$ npm run build     

# start
$ npm run broadcast-server

Project Structure

├── src/
│   ├── cli.ts               # Commander implementation
│   ├── client.ts            # Client server implementation
│   ├── broadcastServer.ts   # Broadcast server implementation
│   ├── config.ts            # Configuration and types
│   └── index.ts             # Entry point
│
├── package.json
├── tsconfig.json
└── README.md

About

A real-time broadcast server implementation using WebSocket protocol. This server supports user authentication, real-time messaging, and user status tracking.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published