https://github.com/socketio/socket.io-fiddle
A minimal example to play with Socket.IO
https://github.com/socketio/socket.io-fiddle
Last synced: 4 months ago
JSON representation
A minimal example to play with Socket.IO
- Host: GitHub
- URL: https://github.com/socketio/socket.io-fiddle
- Owner: socketio
- Fork: true (darrachequesne/socket.io-fiddle)
- Created: 2018-07-19T22:20:38.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T08:25:50.000Z (over 1 year ago)
- Last Synced: 2024-09-29T01:01:22.088Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://socket.io
- Size: 444 KB
- Stars: 8
- Watchers: 5
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Socket.IO Fiddle
```
$ npm install # install the dependencies
$ npm start # run the server
$ npm run client # run the nodejs client
```
And point your browser to `http://localhost:3000`. Optionally, specify a port by supplying the `PORT` env variable.
Other branches:
- [TypeScript](https://github.com/socketio/socket.io-fiddle/tree/typescript)
- [Multiple servers (with Redis adapter/emitter)](https://github.com/socketio/socket.io-fiddle/tree/multiple-servers)
- [Example with CORS](https://github.com/socketio/socket.io-fiddle/tree/cors)
- [Example with self-signed certificate](https://github.com/socketio/socket.io-fiddle/tree/ssl-example)
- [With Vite](https://github.com/socketio/socket.io-fiddle/tree/vite)
- [With µWebSockets.js](https://github.com/socketio/socket.io-fiddle/tree/uws)
- [With PM2](https://github.com/socketio/socket.io-fiddle/tree/pm2)
- [With nginx](https://github.com/socketio/socket.io-fiddle/tree/nginx)
## How to report an issue
Please fork this project, edit it to reproduce the incorrect behavior and link it in the discussion [here](https://github.com/socketio/socket.io/discussions/new).
This is really important for us to be able to help you. Thanks!