parse_facade 0.0.2

  • Installing
  • Versions
  • 0

parse_facade Build Status

parse_facade interfaces with Parse's javascript SDK for working with parse-server


This package expects Parse's javascript SDK to be available in the browser.

Sample usage:

main() async {
  // Initialize your parse app
  Parse.initialize('applicationId', 'javascriptKey');
  // set the URL of parse-server
  Parse.serverURL = 'http://localhost:1337/parse';

  // Object declaration
  var p1 = new ParseObject('Person');
  p1.set('address', 'some place');
  // you can also save an object with additional attributes
  await {'someNum': 100});

  // alternative object declaration
  var p2 = new ParseObject('Person', {'address': 'some place'});

  // Signing up a user using the static method
  await ParseUser.signUpUser('username', 'password');
  // Signing up a user with attributes using the static method
  await ParseUser.signUpUser('username', 'password', {'address': 'some place'});

  // Signup a user from a User instance
  var u1 = new ParseUser()
    ..username = 'user1'
    ..password = 'password1';
  await u1.signUp();

Features and bugs

This package is an attempt to allow the use of Parse's javascript SDK from dart in the browser.

It tries to maintain the same API (to minimize the learning curve) while allowing

That said, there will be some cases where the API is a bit different. This will mostly be done to remove ambiguity in method signatures. For example, the JS SDK can be used with callbacks or with promises (in most cases). However, this package uses only Futures and does away with callbacks altogether.

Current state

This package currently doesn't expose all the functionality that the JS SDK does. However, the intention is to gradually make it feature compatible with the JS SDK.


Contributions in the form of suggestions to improve the code quality, feature requests, bug notifications, etc are all welcome.

If you have any suggestions/pull requests to improve this package, just open an issue and I'll be happy to work with you to improve this package.

You can file feature requests and bugs at the issue tracker.



  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  parse_facade: ^0.0.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:parse_facade/parse_facade.dart';
Version Uploaded Documentation Archive
0.0.2 Nov 22, 2016 Go to the documentation of parse_facade 0.0.2 Download parse_facade 0.0.2 archive
0.0.1 Nov 22, 2016 Go to the documentation of parse_facade 0.0.1 Download parse_facade 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0