An Ember Data Adapter built to use the Parse REST API. This is a full Ember implementation against the Parse REST API without the use of the Parse JavaScript SDK.
There is an example of all of the features inside the example.html file.
- Provides the translation of objectId to id for identity mapping.
- Provides encoding of hasMany associations to arrays of Parse Pointer objects or optionally as Parse Relation objects.
- Implements the persistence layer to Parse by extending the Ember Data REST Adapter.
- Provides an easy way to setup a Parse object.
- Login
- Signup
- Request password reset
You'll want to get an account at Parse. After this you will be provided with three keys:
- Application ID
- JavaScript Key
- REST API Key
You will need each of these to configure the ParseAdapter.
var App = Ember.Application.create();
App.ApplicationAdapter = DS.ParseAdapter.extend({
applicationId: '<YOUR APP ID HERE>',
restApiId: '<YOUR REST API KEY HERE>',
javascriptId: '<YOUR JAVASCRIPT KEY HERE>'
});
Once you have your adapter configured now you can create ParseModels just as you would create DS.Models.
App.Post = DS.ParseModel.extend({
title: DS.attr('string'),
body: DS.attr('string')
});
- Parse Roles implementation
- Parse ACL implementation
- To get a build simply grunt. You'll find builds inside the /dist folder.