realm / realm-flexible-sync-test-api

Sample App for A/B testing two version of the Flexible Sync API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Realm

Description

This repo contains two Sample Apps which use different proposed APIs for flexible sync. The purpose of this repo is to A/B Test this APIs.

The Realm Swift SDK is located at https://github.com/realm/realm-swift

Usage

  • Install the application following the instructions in the next section.
  • Check the README.md files of each sample app for instructions on how to install and use each of the APIs.

Building and running the app

  1. If you don't already have one create a MongoDB Atlas Account, and cluster.
  2. Install the Realm CLI and create an API key pair.
  3. Download the repo and install the Realm app:
git clone https://github.com/realm/realm-flexible-sync-test-api.git
cd realm-flexible-sync-test-api/trail_tracker_app
realm-cli login --api-key <your new public key> --private-api-key <your new private key>
realm-cli import # Then answer prompts, naming the app TrailTrackerApp
  1. From the Atlas UI, click on the Realm logo and you will see the TrailTrackerApp app. Open it and copy the App Id.

Or follow the instructions on the documentation to create it manually.

About

Sample App for A/B testing two version of the Flexible Sync API


Languages

Language:Swift 100.0%