Code Monkey home page Code Monkey logo

ember-parse's Introduction

DEPRECATED: Work on this has moved to ember-parse-adapter.

Parse for Ember.js

This addon has all you need to use Parse 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
  • AuthenticatedRouteMixin
  • 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 to get an idea of how the addon works.

Installation

  • ember install:addon ember-parse
  • ember generate ember-parse-core ๐Ÿ‘ˆ To add the adapter and serializer
  • ember generate ember-parse-session ๐Ÿ‘ˆ To add the session service and user model

config/environment.js

ENV['ember-parse'] = {
  PARSE_APPLICATION_ID: '<your app id goes here>',
  PARSE_JAVASCRIPT_KEY: '<your key goes here>',
  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

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Credits

This addon builds upon the work of clintjhill on ember-parse-adapter. Thanks!

ember-parse's People

Contributors

gcollazo avatar jpadilla avatar quantuminformation avatar igorsantos07 avatar ember-tomster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.