This repository has been archived on 2025-08-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
coinstorge/website/websocket/README.md
MD1125 f542df17ab Documentation & Formatting Changes
Co-Authored-By: svedev <28451791+svedev0@users.noreply.github.com>
2025-06-23 16:22:32 +02:00

811 B

Websocket Server

This is the websocket server component of Rugplay, built with Bun - a fast all-in-one JavaScript runtime.

Prerequisites

  • Bun (v1.2.11 or later)
  • Redis running in the background

Development

Initial Setup

bun install

Running the Server

bun run src/main.ts

Production

For production deployment, you do not need to start the WebSocket server separately. Simply run build.sh in the main directory, and the WebSocket server will be included as part of the deployment process.

Notes

  • This project was created using bun init in bun v1.2.11
  • The websocket server handles real-time updates for the trading platform
  • Make sure Redis is running before starting the server