Skip to content

ably-labs/collaborative-text-editor-ably

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a WIP demo of a collaborative text editor built with Ably Collaboration SDK.

How to run it locally

  1. Sign up to Ably and create a free account to get your API Key.

  2. Create a .env file and add your Ably API Key:

ABLY_API_KEY=<YOUR-ABLY-API-KEY>
  1. Install Vue2 app's dependencies:
cd app
npm install
  1. Switch to project root and install server's dependencies:
cd ..
npm install
  1. Run the server:
node server.js
  1. Open the app in the browser using the following URL (emulate multiple users by opening it in multiple tabs):
http://localhost:8082/