Steps to run:
See Live demo :
copyand paste the same address on browser/browser-abs
https://dashboard.pusher.com/ create app using this url just have to create an account and then create the app
Now select the app you have created ,and then select app settings and
so you can listen to client events
git clone https://github.com/KumailHussain/Calloborative-text-editor.git
Insert your api key for client side
path= Calloborative-text-editor/js/app.js
Replace this line according to Your app (select javascript as client)
var pusher = new Pusher('INSERT_YOUR_KEY_HERE', {
cluster: 'Your Api Cluster',
encrypted: true
});
you will find key from your app dashbaord
Insert your api key for Server side
path= Calloborative-text-editor/server.js
Replace this line according to Your app (select node as server)
var pusher = new Pusher({
appId: 'INSERT_YOUR_APP_ID_HERE',
key: 'INSERT_YOUR_KEY_HERE',
secret: 'INSERT_YOUR_SECRET_HERE'
});
cd Calloborative text editor
npm install
npm start
You can now see the demo