https://github.com/apal21/nodejs-websocket-simple-chat-with-auth-key
https://github.com/apal21/nodejs-websocket-simple-chat-with-auth-key
chat-application nodejs websocket websocket-client websocket-server
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/apal21/nodejs-websocket-simple-chat-with-auth-key
- Owner: apal21
- Created: 2017-06-08T13:49:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T08:34:33.000Z (over 8 years ago)
- Last Synced: 2025-04-14T20:09:29.885Z (about 1 year ago)
- Topics: chat-application, nodejs, websocket, websocket-client, websocket-server
- Language: HTML
- Size: 39.1 KB
- Stars: 5
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to Use
You can run the client files from any browser.
Start node.js server and put its path in the client's javascript inside websocket with proper port number.
# Deploy to Heroku
Just change the path of websocket to your herokuapp's path.
For example, if your app is `example.herokuapp.com` then put `wss://example.herokuapp.com/`
Do not specify any port in your client javascript.
[](https://heroku.com/deploy?template=https://github.com/apal21/nodejs-websocket-simple-chat-with-auth-key/tree/heroku)