Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blimpio/ember-parse
DEPRECATED
https://github.com/blimpio/ember-parse
Last synced: about 10 hours ago
JSON representation
DEPRECATED
- Host: GitHub
- URL: https://github.com/blimpio/ember-parse
- Owner: blimpio
- License: mit
- Created: 2015-04-26T23:17:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T16:39:05.000Z (almost 8 years ago)
- Last Synced: 2024-10-13T10:55:59.966Z (24 days ago)
- Language: JavaScript
- Homepage: https://getblimp.github.io/ember-parse/
- Size: 748 KB
- Stars: 13
- Watchers: 4
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DEPRECATED: Work on this has moved to [ember-parse-adapter](https://github.com/clintjhill/ember-parse-adapter/).
# Parse for Ember.js
This addon has all you need to use [Parse](https://parse.com/) in your Ember.js application. It includes an adapter and serializer to integrate with ember-data and a session service to provide authentication.
## WORK-IN-PROGRESS
This is still a work in progress.#### Tests
- [ ] Test session service is injected in routes
- [ ] Test session service is injected in controllers
- [ ] Test session service is injected in components
- [ ] Test session service can register new user
- [ ] Test session service can login user
- [ ] Test session service can request password reset for user
- [ ] Test session service sets sessionToken in adapter
- [ ] Test get single record
- [ ] Test get many records
- [ ] Test create record
- [ ] Test update record
- [ ] Test delete record
- [ ] Test get belongs-to relation
- [ ] Test create belongs-to relation
- [ ] Test update belongs-to relation
- [ ] Test delete belongs-to relation
- [ ] Test get many-to-many relation
- [ ] Test create many-to-many relation
- [ ] Test update many-to-many relation
- [ ] Test delete many-to-many relation#### Features
- [ ] ApplicationRouteMixin
- [X] AuthenticatedRouteMixin
- [X] Blueprint to generate application files## Getting Started
Since this is still a work in progress, we don't have any documentation. In the meantime you can take a look at the [dummy app](https://github.com/GetBlimp/ember-parse/tree/master/tests/dummy) to get an idea of how the addon works.## Installation
* `ember install:addon ember-parse`
* `ember generate ember-parse-core` :point_left: To add the adapter and serializer
* `ember generate ember-parse-session` :point_left: To add the session service and user model#### config/environment.js
```js
ENV['ember-parse'] = {
PARSE_APPLICATION_ID: '',
PARSE_JAVASCRIPT_KEY: '',
session: {
authenticationRoute: 'index', // Route where your login form is located
ifAlreadyAuthenticatedRoute: 'dashboard' // Route to redirect logged in users
}
};
```## Compatibility
* ember-data >= "1.0.0-beta.19.1"
## Development
* `git clone` this repository
* `npm install`
* `bower install`## Running
* `ember server`
* Visit your app at http://localhost:4200.## Running Tests
* `ember test`
* `ember test --server`## Building
* `ember build`
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).
## Credits
This addon builds upon the work of [clintjhill](https://github.com/clintjhill) on [ember-parse-adapter](https://github.com/clintjhill/ember-parse-adapter). Thanks!