Get Started
Install Guides
Node.js
to get started right away without having to build an app from scratch, explore with the ditto ready to use demo task app prerequisites before you can install ditto, you must have the following ditto access credentials https //nodejs org/en/ active long term support (lts) version 18 x or 20 x linux, macos version 11 (or later), or windows version 10 (or later) https //git scm com/downloads integrated developer environment (ide) to get your access credentials, complete the docid\ hk2s3ld8sj ti5snxwkq1 you can use any ide you prefer; however, f or optimal compatibility with the platform, ditto recommends using https //code visualstudio com/download installing the demo task app to install ditto in your environment, install and set up ditto, and authenticate your client identity with the big peer clone the https //github com/getditto/template app nodejs todo/ repository from github bash git clone https //github com/getditto/template app nodejs todo/ install the required dependencies bash npm install open the project in your ide, and then open the index ts file for example, if using visual studio code bash code in line 14 of the index ts file, replace 'your app id' and 'your token' with your app id and playground token ( ditto basics > docid\ hk2s3ld8sj ti5snxwkq1 ) // replace your app id and your token with p ditto = new ditto({ type 'onlineplayground', appid 'your app id', token 'your token' }) build the demo task app bash npm run build interact with the demo task app and simulate real time peer to peer replication by running the demo task app in two or more separate terminals (one for each virtual peer) bash node index js using the commands that automatically appear in each of your terminals, add, remove, and modify documents as desired if you want to observe your changes sync with the cloud optional deployment, the docid\ owk byjce9fc9i8pmv sl , open the data browser in the https //portal ditto live/