Nervous Penpal Message

    parse-spec

    0.3.0 • Public • Published

    parse-spec npm version

    Testing framework for Parse.com API migration

    How to install

    $ npm install -g parse-spec
    

    How to use

    $ parse-spec -c /path/to/api.json -b /path/to/build_dir trace
    $ parse-spec -c /path/to/api.json -b /path/to/build_dir verify
    

    Configuration

    Write below information into config/api.json

    {
      "app_name": <Your Application Name>,
      "endpoint": <Endpoint to be tested>,
      "parse_endpoint": "https://api.parse.com/1/",
      "app_id": <Your Application ID>,
      "restapi_key": <Your Application REST API Key>,
      "master_key": <Your Application Master Key>,
      "classes": [
        // Classe records stored in your Parse.com application
      ]
    }
    

    Build

    $ npm run build

    Usage for dev

    First trace Parse.com API and migrated API.

    $ npm run trace
    

    Next verify API by comparing trace files.

    $ npm run verify
    

    LICENSE

    MIT License

    Keywords

    Install

    npm i parse-spec

    DownloadsWeekly Downloads

    4

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • lewuathe