Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luciopaiva/socketio-with-restify
Fully functional example showing how to run socket.io with restify.
https://github.com/luciopaiva/socketio-with-restify
nodejs restify socket-io
Last synced: 15 days ago
JSON representation
Fully functional example showing how to run socket.io with restify.
- Host: GitHub
- URL: https://github.com/luciopaiva/socketio-with-restify
- Owner: luciopaiva
- Created: 2018-10-01T20:14:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T02:52:35.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T12:59:46.037Z (9 months ago)
- Topics: nodejs, restify, socket-io
- Language: JavaScript
- Homepage:
- Size: 317 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# socket.io with Restify
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-restify.git
cd socketio-with-restify
nvm install
npm installThen start the sample server:
node server
And finally head your browser to http://localhost:8000 to see it working.
---
Also see [how to use socket.io with Express](https://github.com/luciopaiva/socketio-with-express).