Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


JS SDK API Example

This example is intended to run through all the various methods of the JS SDK.


Create these schemas for your example app:

  • message schema with a string field named content
  • user schema with a one to many relationship with a message schema.
  • attraction schema with a geopoint field named location

I know, would be nice to have these precreated for you, right? That idea's in the feature list - sharable schema templates. (But I digress)

Facebook Example Prerequisites

  • user schema with Facebook methods enabled
  • Facebook App ID (optional)

Running this example

Click on the various links to trigger an API call. Some examples require you to click on one link before another. For instance, you can only "Read a User" after you "Create a User". It should generally be intuitive.