Skip to content

Commit 8815bb4

Browse files
authored
Update README.md
Removed testing steps
1 parent 98c0cca commit 8815bb4

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -90,38 +90,7 @@ $env:PORT=4000; node server.js
9090

9191
---
9292

93-
## 6. Test Endpoints
94-
95-
### List Available Rooms
96-
97-
The server provides a REST endpoint:
98-
99-
```
100-
GET /list?game_id=<gameId>
101-
```
102-
103-
Example:
104-
105-
```
106-
http://localhost:3000/list?game_id=123
107-
```
108-
109-
This returns a JSON list of available rooms for the given game ID.
110-
111-
### WebSocket Features
112-
113-
Clients can connect via **Socket.IO** to:
114-
115-
- Open rooms (`open-room`)
116-
- Join rooms (`join-room`)
117-
- Leave rooms (`leave-room`)
118-
- Exchange WebRTC signals (`webrtc-signal`)
119-
- Send messages (`data-message`, `snapshot`, `input`)
120-
- Receive updates when users join/leave (`users-updated`)
121-
122-
---
123-
124-
## 7. (Optional) Run in Background with PM2
93+
## 6. (Optional) Run in Background with PM2
12594

12695
For production, use **PM2** to keep the server running in the background.
12796

0 commit comments

Comments
 (0)