Code Monkey home page Code Monkey logo

titanium-parse's Introduction

titanium-parse

This project wraps the Parse javascript and REST APIs for use in Appcelerator Titanium and Alloy projects.

Installing

  1. Copy ti-parse.js and the parse library to your lib directory.

  2. Copy the sync adapter in src/lib/alloy/sync/parse.js to app/lib/alloy/sync/parse.js

  3. Setup your Parse credentials in config.json

    {
        "global": {
            "parse_appid": "your-appid-here",
            "parse_jskey": "your-jskey-here",
            "parse_restkey": "your-restkey-here"
        }, 
        "env:development": {}, 
        "env:test": {}, 
        "env:production": {}, 
        "os:android": {},
        "os:blackberry": {},
        "os:ios": {},
        "os:mobileweb": {},
        "dependencies": {}
    }
  1. Require ti-parse in your app (maybe alloy.js)
    Parse = require("ti-parse")(
        applicationId: Alloy.CFG.parse_appid
        javaScriptKey: Alloy.CFG.parse_jskey
    )

Using Parse directly

Using Parse through Alloy models and collections

Contributing

This project makes use of rvm, guard, rake, coffeescript, and tishadow for building and testing.

Make the testapp:

    rake wipe testapp appify

The project is partially spec'd. Please add more tests in src/spec

    bundle install
    bundle exec guard  # will build the files (TODO: move this to Rake) - watches for edits in testing as well
    rake testapp       # will build a test app
    rake appify        # will create a stand-alone tishadow server for use in testing
    rake clean         # start over
    tishadow spec      # run the tests
```

titanium-parse's People

Contributors

ijcd avatar

Watchers

James Cloos 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.