https://github.com/nmuldavin/graphql-server-tutorial
https://github.com/nmuldavin/graphql-server-tutorial
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nmuldavin/graphql-server-tutorial
- Owner: nmuldavin
- License: mit
- Created: 2017-07-17T02:12:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T02:12:52.000Z (about 9 years ago)
- Last Synced: 2025-02-22T02:41:21.872Z (over 1 year ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apollo-tutorial-kit (formerly apollo-starter-kit)
Starting point for the Apollo GraphQL Server tutorial.
See also [Tutorial: How to build a GraphQL server](https://medium.com/apollo-stack/tutorial-building-a-graphql-server-cddaa023c035#.wy5h1htxs) and the solution in the `server-tutorial-solution` branch of this repo.
Up-to-date documentation and explanations for Apollo Server can be found on [docs.apollostack.com](http://dev.apollodata.com/tools/apollo-server/index.html)
## Getting started
```sh
git clone https://github.com/apollostack/apollo-starter-kit
cd apollo-starter-kit
npm install
npm run start
```
Then open [http://localhost:3000/graphiql](http://localhost:3000/graphql)
When you paste this on the left side of the page:
```
{
testString
}
```
and hit the play button (cmd-return), then you should get this on the right side:
```json
{
"data": {
"testString": "It works!"
}
}
```