A simple WebSocket server to get started using Bun.
-
Clone the repository
-
Install dependencies
bun i
-
Development mode (debug)
F5
-
Connecting to the Server using a WebSocket client
bunx wscat -c ws://localhost:3000
-
Running tests (watch mode)
bun test --watch
-
Production mode
bun src/index.ts