Who is typing feature with Pusher
This applications shows how to integrate Pusher with a Javascript application to implement a who is typing feature.
Requirements
- A free Pusher account
- Node.js version 5 or greater
Installation
- Create an app on Pusher and copy your app's id, key, and secret.
- Clone this repository and
cd
into it. - Execute
npm install
to download dependencies. - Update server.js with your Pusher Credentials.
- Execute
node server.js
to set the environment variables needed by the app with your Pusher info and start it. - Go to
http://localhost:3000
and start playing with the app. You can open multiple tabs and type on each tab to know who is typing.