Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.19 KB

Investr Android Parse server

(keep internal)

App is running at https://investr-android.herokuapp.com/. Check index.js for client credentials.

Sample commands:

curl -X POST
-H "X-Parse-Application-Id: investrAndroid"
-H "X-Parse-Master-Key: investrParse2017"
-H "Content-Type: application/json"
-d '{"score":1337,"playerName":"Aki and Como","cheatMode":true}'
https://investr-android.herokuapp.com/parse/classes/GameScore

curl -X GET
-H "X-Parse-Application-Id: investrAndroid"
-H "X-Parse-Master-Key: investrParse2017"
https://investr-android.herokuapp.com/parse/classes/GameScore

curl -X POST
-H "X-Parse-Application-Id: investrAndroid"
-H "X-Parse-Master-Key: investrParse2017"
-H "Content-Type: application/json"
-d '{"where": {"deviceType": "android"}, "data": {"action": "com.example.UPDATE_STATUS", "newsItem": "Man bites dog", "name": "Vaughn", "alert": "Ricky Vaughn was injured during the game last night!"}}'
https://investr-android.herokuapp.com/parse/functions/push

Access the dashboard via:

npm install -g parse-dashboard

parse-dashboard --appId investrAndroid --masterKey investrParse2017 --serverURL "https://investr-android.herokuapp.com/parse"