javascript - Using Node Parse API for self-hosted Parse Server -
i finished building parse server on parse platform. in old parse app, utilize rest api library nodejs
how should configure (in parse initialization or parse library module) send rest request newly built parse server. example, configuration of parse server contains:
{ "appid": my_app_id, "masterkey": my_master_key, "port": "1337", "serverurl": my_server_url, "publicserverurl": my_server_url, "mountpath": "/parse", "databaseuri": my_database_uri" }
the node module specify serverurl api.parse.com, , origin mount path '1'. https://github.com/leveton/node-parse-api/blob/master/lib/parse.js
try these 2 step. 1. set parse._api_host host. 2. change mountpath '1'.
another parse rest api util kaiseki, there pr fit open source parse not been merged. https://github.com/shiki/kaiseki/pull/35
Comments
Post a Comment