Run parse.com applications on localhost and web servers.
$ npm install parse-run -g
in config/global.json
add your javascriptKey:
{
"applications": {
"myApp": {
"applicationId": "MYAPP_ID",
"masterKey" : "MY_MASTER_KEY",
"javascriptKey": "SET YOUR JS KEY HERE!"
}
}
}
and you're done!
From your parse app folder, you can now run parse-run [app name]
app name is optional.
$ parse-run [app name]
As you know, Parse provide hooks (beforeSave, afterSave, beforeDelete, afterDelete) and define functions.
Those functions have to be uploaded to the Parse servers using parse deploy or parse develop.
Updating those functions locally without publishing your code to parse have no effect!