QuickStart: Data Storage and JavaScript

Get going with some fast hands on examples.

Introduction

The easiest way to try out the Appstax Data Storage is to run some examples. In this tutorial we show you how to get started with saving and loading objects, as well as uploading files. Start by running the first example below by hitting the Result button.

Loading objects

This example loads and displays objects from a "messages" collection.

Adding new objects

Click the button to create and save a new object. You can edit the example to change the message.

Uploading a file

This example shows how little code is needed to add files to your objects.

Note: This QuickStart uses a common app key for everyone viewing this page, so don't be suprised when data appears that you didn't add yourself. Sign up for a free trial to get your own app key to use instead.

What's next?

You should click the Edit in JSFiddle links in the examples to quickly try out your own ideas. There is more information on working with objects in the JavaScript guide.

More QuickStart Guides

Appstax tutorials

Set up your own app project on your computer