Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luciopaiva/socketio-with-express
Sample script demonstrating how to run Express with socket.io.
https://github.com/luciopaiva/socketio-with-express
express nodejs socket-io
Last synced: about 2 months ago
JSON representation
Sample script demonstrating how to run Express with socket.io.
- Host: GitHub
- URL: https://github.com/luciopaiva/socketio-with-express
- Owner: luciopaiva
- Created: 2018-06-10T17:08:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T14:04:38.000Z (about 2 years ago)
- Last Synced: 2024-10-15T01:08:32.443Z (2 months ago)
- Topics: express, nodejs, socket-io
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 31
- Watchers: 2
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# socket.io with Express
This demo shows how to establish a websocket connection and send and receive messages through socket.io.
Make sure you have nvm installed and run:
git clone [email protected]:luciopaiva/socketio-with-express.git
cd socketio-with-express
nvm install
npm installThen start the sample server:
node server
And finally head your browser to http://localhost:3000 to see it working.
---
Also see [how to use socket.io with Restify](https://github.com/luciopaiva/socketio-with-restify).