- Server
- Android
Prerequisites
Following are the minimum requirements that must be met before attempting to install Ditto.- Java Development Kit (JDK) version 17
-
One of the following platforms and architectures:
- Windows x86_64
- Linux x86_64
- MacOS arm64 (Apple Silicon) or x86_64
- Git installed on your machine
- A Ditto Portal account with a configured Ditto Application (see Getting SDK Connection Details)
Get Started
1. Clone the Repository
2. Configure Ditto
Get Ditto Database ID, Development Token, Auth URL, and Websocket URL
Add Ditto Credentials
- Copy the
.env.samplefile at the top level of thequickstartrepo to.envand add your database ID and development token. - Update the
.envfile with the Database ID and Development Token from your Ditto Application
3. Run the Application
- Open a terminal app and navigate to the
quickstart/java-springdirectory. - Run the following command to launch the web app:
- Open http://localhost:8080 in a browser to interact with the app.