Skip to content

Client-side service to add data synchronization to editron

Notifications You must be signed in to change notification settings

sueddeutsche/editron-sync-service

Repository files navigation

editron client for syncing data changes to other clients

The service requires a running server with an implemented editron-sync-server

Usage

In your editron application

npm install editron-sync-service --save

and setup like

const EditronController = require("editron-core/Controller");
const controller = new EditronController(schema, data);
const SyncService = require("editron-sync-service/SyncService");
const syncService = new SyncService(controller);

syncService.connect(urlToSynServer, uniqueId);

Additionally you may add any component like

const UsersIcon = require("editron-sync-service/components/usersicon");
const users = new UsersIcon(controller, syncService, $targetHTMLNode);

About

Client-side service to add data synchronization to editron

Resources

Stars

Watchers

Forks

Packages

No packages published