Skip to content

Instantly share code, notes, and snippets.

@nqthqn
Created November 2, 2016 01:50
Show Gist options
  • Save nqthqn/6f272f0cfa6d4e0c2c834f5510f6d786 to your computer and use it in GitHub Desktop.
Save nqthqn/6f272f0cfa6d4e0c2c834f5510f6d786 to your computer and use it in GitHub Desktop.

#uno

npm install parse-server mongodb-runner -g
mongodb-runner start
parse-server --appId asdkjoi4 --masterKey i3ufbiur --databaseURI mongodb://localhost/test

#dos

curl -X POST \
-H "X-Parse-Application-Id: asdkjoi4" \
-H "Content-Type: application/json" \
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
http://localhost:1337/parse/classes/GameScore


curl -X GET \
  -H "X-Parse-Application-Id: asdkjoi4" \
  http://localhost:1337/parse/classes/GameScore/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment