Skip to content

Commit aa97c19

Browse files
ydfzgyjSashko Stubailo
authored and
Sashko Stubailo
committed
Update links of Apollo Server (graphql#419)
1 parent 15714ee commit aa97c19

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

site/code/index.html.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,22 +253,22 @@ app.use('/graphql', graphqlHTTP({
253253
app.listen(4000, () => console.log('Now browse to localhost:4000/graphql'));
254254
\`\`\`
255255
256-
#### [graphql-server](http://dev.apollodata.com/tools/graphql-server/index.html) ([github](https://github.com/apollostack/graphql-server)) ([npm](https://www.npmjs.com/package/graphql-server-express))
256+
#### [apollo-server](https://www.apollographql.com/docs/apollo-server/) ([github](https://github.com/apollographql/apollo-server)) ([npm](https://www.npmjs.com/package/apollo-server-express))
257257
258258
A set of GraphQL server packages from Apollo that work with various Node.js HTTP frameworks (Express, Connect, Hapi, Koa etc).
259259
260-
To run a hello world server with graphql-server-express:
260+
To run a hello world server with apollo-server-express:
261261
262262
\`\`\`bash
263-
npm install graphql-server-express body-parser express graphql graphql-tools
263+
npm install apollo-server-express body-parser express graphql graphql-tools
264264
\`\`\`
265265
266266
Then run \`node server.js\` with this code in \`server.js\`:
267267
268268
\`\`\`js
269269
var express = require('express');
270270
var bodyParser = require('body-parser');
271-
var { graphqlExpress, graphiqlExpress } = require('graphql-server-express');
271+
var { graphqlExpress, graphiqlExpress } = require('apollo-server-express');
272272
var { makeExecutableSchema } = require('graphql-tools');
273273
274274
var typeDefs = [\`
@@ -295,7 +295,7 @@ app.use('/graphiql', graphiqlExpress({endpointURL: '/graphql'}));
295295
app.listen(4000, () => console.log('Now browse to localhost:4000/graphiql'));
296296
\`\`\`
297297
298-
GraphQL Server also supports all Node.js HTTP server frameworks: Express, Connect, HAPI and Koa.
298+
Apollo Server also supports all Node.js HTTP server frameworks: Express, Connect, HAPI and Koa.
299299
300300
### PHP
301301
@@ -411,14 +411,14 @@ Executor.execute(schema, query) map println
411411
### JavaScript
412412
413413
- [Relay](https://facebook.github.io/relay/) ([github](https://github.com/facebook/relay)) ([npm](https://www.npmjs.com/package/react-relay)): Facebook's framework for building React applications that talk to a GraphQL backend.
414-
- [Apollo Client](http://apollographql.com/client/) ([github](https://github.com/apollostack/apollo-client)): A powerful JavaScript GraphQL client, designed to work well with React, React Native, Angular 2, or just plain JavaScript.
414+
- [Apollo Client](http://apollographql.com/client/) ([github](https://github.com/apollographql/apollo-client)): A powerful JavaScript GraphQL client, designed to work well with React, React Native, Angular 2, or just plain JavaScript.
415415
- [graphql-request](https://github.com/graphcool/graphql-request): A simple and flexible JavaScript GraphQL client that works in all JavaScript environments (the browser, Node.js, and React Native) - basically a lightweight wrapper around \`fetch\`.
416416
- [Lokka](https://github.com/kadirahq/lokka): A simple JavaScript GraphQL client that works in all JavaScript environments (the browser, Node.js, and React Native).
417417
- [nanogql](https://github.com/yoshuawuyts/nanogql): Tiny GraphQL client library using template strings.
418418
419419
### Swift / Objective-C iOS
420420
421-
- [Apollo iOS](https://www.apollographql.com/docs/ios/) ([github](https://github.com/apollostack/apollo-ios)): A GraphQL client for iOS that returns results as query-specific Swift types, and integrates with Xcode to show your Swift source and GraphQL side by side, with inline validation errors.
421+
- [Apollo iOS](https://www.apollographql.com/docs/ios/) ([github](https://github.com/apollographql/apollo-ios)): A GraphQL client for iOS that returns results as query-specific Swift types, and integrates with Xcode to show your Swift source and GraphQL side by side, with inline validation errors.
422422
- [GraphQL iOS](https://github.com/funcompany/graphql-ios): An Objective-C GraphQL client for iOS.
423423
424424
## Tools

0 commit comments

Comments
 (0)