Integrate storage

Add remoteStorage to your app

Backend as a Service

Develop your web app without worrying about hosting or even developing the backend for it: your users will connect their own backend at runtime.

Infinite Scalability

No matter if 5 hundred or 5 million users are using your app, your backend scales automatically and never costs you a single cent.

Wheels Included

remoteStorage.js is a JavaScript library that does all the heavy-lifting of connecting to any remoteStorage backend, caching, synchronizing and storing user data.

Getting started with remoteStorage.js

Although you may choose to integrate remoteStorage sync in your server-side program, or using a custom client-side library, we usually recommend and assume you use remoteStorage.js in a client-side web application. Here's a quick overview of how that works:

1. The Widget


The remoteStorage widget allows your users to connect to their personal storage server. By default it is part of every app that uses remoteStorage.js. So every time a user sees the widget, they know that they can use their own storage with an app. You can customize the widget's appearance to better match your app's design, of course.

2. Categories, Modules & Schemas

remoteStorage data is stored in directories – also known as "categories" – for which your app requests access (either read-only or full). The user grants these permissions via OAuth during the first connect from your app.

For common data, remoteStorage.js uses per-category modules, which provide a method of reading and writing a certain defined type of data, e.g. documents, contacts, or images. You can choose from a variety of common and custom modules that already exist, or build your own.

Example Apps

Check out the demo app "My Favorite Drinks" (source code). There's also a starter kit with a hello-world example, so you can read the source code without the distraction of tasty drinks.


We're still working on better guides and documentation (and you're invited to contribute). However, the library's API documentation is up-to-date, and also includes some guides:

API docs

Next topic: Adding remoteStorage to your app