Skip to content

tommy60703/sails-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_squidhome@2x.png

Parse API Adapter

Provides easy access to Parse from Sails.js & Waterline.

This module is a Waterline/Sails adapter, an early implementation of a rapidly-developing, tool-agnostic data standard. Its goal is to provide a set of declarative interfaces, conventions, and best-practices for integrating with all sorts of data sources. Not just databases-- external APIs, proprietary web services, or even hardware.

Strict adherence to an adapter specification enables the (re)use of built-in generic test suites, standardized documentation, reasonable expectations around the API for your users, and overall, a more pleasant development experience for everyone.

Installation

  • This adapter is not yet on npm. To install, put the following codes in your package.json:
"dependencies": {
  "sails-parse-adapter": "tommy60703/sails-parse.git",
  ...
}

Then run npm install.

  • Or you can just download the files and put it in your project.

Usage

Set up your Parse configuration at config/connections.js as following:

parse: { 
	adapter: 'sails-parse-adapter', 
	appId: 'your-app-id', 
	restKey: 'your-rest-key'
} 

This adapter exposes the following methods:

  • find()
  • create()
  • update()
  • destroy()

Interfaces

TODO:

  • Make it more stable
  • test!
  • Documentation

Contribution

  • This adapter is still in early development. You are welcome to report bugs or make pull request.

More Resources

About

parse adapter for sails v0.10

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published