An AJAX wrapper for the Parse.com REST API
JavaScript Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead, 14 commits behind srhyne:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
.gitignore
README.md
jquery.parse.js
parse.sh

README.md

What is it?

It's a super light-weight AJAX wrapper for Parse.com's wonderful database service.

Why did you build it?

I wanted a stupid-easy data store that I could use strictly from the client. No server needed! Write a thick front end application or app prototype.

New!

Serve your app from http, cross domain calls FTW! Parse launched support for cross-origin resource sharing using CORS. This means you no longer have to generate a base64 encoded Basic Auth key using the provided parse.sh You can now just pass your application id and rest key right to $.parse.init and

$.parse.init({
	app_id : undefined, // <-- enter your Application Id here 
	rest_key : undefined // <--enter your REST API Key here	
});

Prototyping love.

  • No Schema! Just fire a $.parse.post & forget it. If the collection hasn't been created already it will be instantiated.

  • Super simple... just $.parse.get/post/put/delete

More to come....

  • Backbone / Spine sync extension

TODO (josher19)

  • (DONE) Make a quick SQL to js-where-object converter. WHERE x BETWEEN "A" AND "B" => where={"x":{"$gte":"A", "$lte":"B"}} https://github.com/josher19/parse-where

  • Make an interactive tutorial based on https://parse.com/docs/rest#queries

  • login & update user data. Consider adding X-Parse-Session-Token: to req.headers in _http()

  • Load data serially or in parallel.

  • Node.js