Skip to content

proxchat-hub is a websocket server that allows connected clients to send messages to other clients within a certain radius of them. The server works in a distributed manner with each instance communicating with the other instances through Kafka. It is written in Typescript using NodeJS

License

Notifications You must be signed in to change notification settings

stone1549/proxchat-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxchat-hub

proxchat-hub is a websocket server that allows connected clients to send messages to other clients within a certain radius of them. The server works in a distributed manner with each instance communicating with the other instances through Kafka. It is written in Typescript using NodeJS

Prereqs

You probably want to checkout the monorepo yapyapyap instead

Configuration

Environment Variables

Variable Description Possible Values
NODE_ENV Controls log levels and configuration defaults development, production
PORT Port to run service on number
KAFKA_BROKERS A comma separated list of kafka brokers host:9092,host2:9092
TOKEN_SECRET Secret used to sign JWT tokens string
TOKEN_SECRET_KEY Secret certificate key used to sign JWT tokens path to file containing key
TOKEN_PUBLIC_KEY Public certificate key used to read JWT tokens path to file containing key

Run

yarn install
yarn start

About

proxchat-hub is a websocket server that allows connected clients to send messages to other clients within a certain radius of them. The server works in a distributed manner with each instance communicating with the other instances through Kafka. It is written in Typescript using NodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published