yongjhih / docker-parse-server

Provide docker images and docker stack for parse-server npm versions and latest commit
https://hub.docker.com/r/yongjhih/parse-server/
Apache License 2.0
475 stars 166 forks source link

The default server url needs parse at the end of it to work... #26

Closed acinader closed 8 years ago

yongjhih commented 8 years ago

Did you verify that latest image not works with "/parse" endpoint? I think here has already setup default endpoint as "/parse": https://github.com/yongjhih/docker-parse-server/blob/7b8f88fcd72ae2e75e0750f1c00da1e2e82bd850/index.js#L99

This demo screencast https://github.com/yongjhih/docker-parse-server/raw/master/art/docker-parse-server.gif has performed cloud call with "/parse" endpoint of http://localhost:1337/parse/functions/hello

acinader commented 8 years ago

Take a look: https://github.com/ParsePlatform/parse-server-example/blob/master/index.js

I do have the latest with the var mountPath = process.env.PARSE_MOUNT || '/parse';

I was getting errors in my cloud code. The parse library needs that set to be able to do api calls.

yongjhih commented 8 years ago

Ok, i got it. Good job.