npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

unparse

v1.2.19-alpha.11

Published

An open-source clone of Parse.

Downloads

7

Readme

Unparse

An open-source clone of Parse, using Waterline as database backend and implemented with Node.js.

See https://www.parse.com/docs/rest for the REST API documentation. Unparse should be compatible with it and existing Parse SDKs (e.g. with the Javascript SDK). For a list of existing Parse SDKs (official and unofficial), see this page : https://www.parse.com/docs/api_libraries

Warning! This software is still in an early development stage. Use only for test purposes!

Features

  • [x] Creating objects
  • [x] Updating objects
  • [x] Deleting objects
  • [x] Querying objects (basic support)
  • [x] Querying objects (query contraints)
  • [ ] Querying objects (relationnal queries)
  • [x] API keys and authentication
  • [x] Access Control Lists (ACL)
  • [ ] Users
    • [x] Signup
    • [x] Login
    • [x] Password hashing
    • [x] Retrieving current user
    • [x] Querying users
    • [x] Updating users
    • [ ] Requesting a password reset
    • [x] Deleting users
  • [ ] Pointers (one-to-one)
  • [ ] Relations (one-to-many)
  • [x] Roles
  • [ ] Files
  • [ ] Cloud functions, cloud code

Dashboard

A dashboard for Unparse is available here: https://github.com/unparse/unparse-dashboard

Running the server

Initialize the database with default classes and objects:

npm run init

Start the server:

npm run start

Using Parse Javascript SDK

You can use the official Parse Javascript SDK (quickstart) with Unparse:

Parse.serverURL = 'https://api.unparse.org'; // Change this to your Unparse server URL
Parse.initialize("appId", "javascriptKey"); // Replace with your application ID and your Javascript API key (defined in src/config/)

// You can now play around with the SDK
var TestObject = Parse.Object.extend("TestObject");
var testObject = new TestObject();
testObject.save({foo: "bar"}).then(function(object) {
  alert("yay! it worked");
});

Note: we're maintaining a Bower package for the Parse JS SDK: https://github.com/unparse/parse-js-sdk

You can install the SDK by running bower install parse-sdk.

Under the hood

Classes are stored in the __Class collection, which is present by default and is not overridable.

Default classes properties are:

  • objectId: the object unique ID
  • createdAt: the object's creation date
  • updatedAt: the object's last update date
  • ACL: for Access Control Lists

Currently, there is only one application per server. API credentials can be modified in src/config/.