An open API service indexing awesome lists of open source software.

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

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.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/apal21/nodejs-websocket-simple-chat-with-auth-key/tree/heroku)