https://github.com/tmc/parse_graphql
GraphQL server for your Parse Application
https://github.com/tmc/parse_graphql
Last synced: about 1 year ago
JSON representation
GraphQL server for your Parse Application
- Host: GitHub
- URL: https://github.com/tmc/parse_graphql
- Owner: tmc
- License: isc
- Created: 2015-05-20T15:02:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T00:31:26.000Z (over 10 years ago)
- Last Synced: 2025-03-24T09:52:51.219Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 17
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
parse_graphql
=============
[](https://heroku.com/deploy)
Expose a Parse app's schema as a graphql endpoint.
```sh
$ parse_graphql serve -h
Usage:
parse_graphql [OPTIONS] serve [serve-OPTIONS]
Global options:
-v, --verbose Be verbose
Help Options:
-h, --help Show this help message
[serve command options]
-l, --listen= Listen address (:8080)
-a, --appID= Parse Application ID [$PARSE_APPLICATION_ID]
-m, --masterKey= Parse Master Key [$PARSE_MASTER_KEY]
-w, --restApiKey= Parse REST API Key [$PARSE_REST_API_KEY]
```
User signup:
```graphql
mutation signUp { signUp(username: "foobar", password: "bazbar", email: "foo.bar@gmail.com") { objectId, createdAt, sessionToken } }
```
User login:
```graphql
mutation logIn { logIn(username: "foobar", password: "bazbar") { objectId, createdAt, sessionToken } }
```