You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add graphQLServerURL option to the CLI
* Add GraphQL Playground instructions in readme file
* Fixing typo
* Including GraphQL link in summary
* Changing order
Copy file name to clipboardExpand all lines: Parse-Dashboard/index.js
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ const program = require('commander');
16
16
program.option('--appId [appId]','the app Id of the app you would like to manage.');
17
17
program.option('--masterKey [masterKey]','the master key of the app you would like to manage.');
18
18
program.option('--serverURL [serverURL]','the server url of the app you would like to manage.');
19
+
program.option('--graphQLServerURL [graphQLServerURL]','the GraphQL server url of the app you would like to manage.');
19
20
program.option('--dev','Enable development mode. This will disable authentication and allow non HTTPS connections. DO NOT ENABLE IN PRODUCTION SERVERS');
20
21
program.option('--appName [appName]','the name of the app you would like to manage. Optional.');
21
22
program.option('--config [config]','the path to the configuration file');
@@ -47,6 +48,7 @@ let explicitConfigFileProvided = !!program.config;
@@ -136,6 +137,56 @@ Managing multiple apps from the same dashboard is also possible. Simply add addi
136
137
}
137
138
```
138
139
140
+
## GraphQL Playground
141
+
142
+
Parse Dashboard has a built-in GraphQL Playground to play with the auto-generated [Parse GraphQL API](https://github.com/parse-community/parse-server#graphql).
143
+
144
+
You can setup the GraphQL Playground by passing the `--graphQLServerURL` option to the `parse-dashboard` CLI:
Parse Dashboard supports adding an optional icon for each app, so you can identify them easier in the list. To do so, you *must* use the configuration file, define an `iconsFolder` in it, and define the `iconName` parameter for each app (including the extension). The path of the `iconsFolder` is relative to the configuration file. If you have installed ParseDashboard globally you need to use the full path as value for the `iconsFolder`. To visualize what it means, in the following example `icons` is a directory located under the same directory as the configuration file:
0 commit comments