- Clone this repository and run
npm i
. - Copy
.env.example
to.env
- Create a new instance in Realm Cloud and add its hostname to
.env
. - Add an admin user to the instance using Realm Studio and add the username and password to
.env
. - Delete the default realm, as it's a query based sync realm and we want a full sync realm.
- Run
npm start
.
Query should successfully return a result and the printout at the end of the script should say:
Result status: 200
Also, the request should complete quickly.
Very long pause, then:
Unhandled error { Error: Request failed with status code 502
<etc>