Skip to content

For ALL migrator from Parse.com! Testing tool for Parse.com REST API.

License

Notifications You must be signed in to change notification settings

Lewuathe/parse-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

For ALL migrator from Parse.com! Testing tool for Parse.com REST API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published