Skip to content

Commit 7e7d691

Browse files
committed
Edited the structure, added page on resolvers
1 parent 272bb41 commit 7e7d691

File tree

10 files changed

+28
-33
lines changed

10 files changed

+28
-33
lines changed

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sidebar_categories:
1010
- tutorial/introduction
1111
- tutorial/schema
1212
- tutorial/data-source
13+
- tutorial/resolvers
1314
- tutorial/production
1415
- tutorial/client
1516
- tutorial/queries

docs/source/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
---
22
title: Welcome
3-
description: Start here to learn how to use the Apollo platform.
3+
description: Start here to learn about the Apollo platform
44
---
55

66
<div class="docstart" align="center">
77

8-
<div class="pop-banner">
9-
<div class="pb-content pb-early-access">Early Access</div>
10-
<div class="pb-content pb-head">Interested in running GraphQL on the edge?</div>
11-
<div class="pb-content pb-link">
12-
<a href="/edge">Sign up to try Apollo Server on Cloudflare.</a>
13-
</div>
14-
</div>
15-
168
<div class="fundamentals">
179
<div align="center">
1810
<a href="./fundamentals/platform.html">

docs/source/tutorial/client.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
title: "4. Connect your API to a client"
2+
title: "5. Connect your API to a client"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

66
<h2 id="dev-environment">Set up your development environment</h2>
77

88
<h2 id="apollo-client-setup">Create an Apollo Client</h2>
99

10+
<h2 id="apollo-client-setup">Make your first query</h2>
11+
1012
<h2 id="react-apollo">Connect your client to React</h2>

docs/source/tutorial/data-source.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ title: "2. Hook up your data sources"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

6-
<h2 id="data-source">What is a data source?</h2>
7-
86
<h2 id="rest-api">Connect a REST API</h2>
97

10-
<h2 id="database">Connect a database</h2>
11-
12-
<h2 id="resolvers">Call your data sources in resolvers</h2>
13-
14-
<h2 id="write-query">Write a query in the playground</h2>
15-
16-
<h2 id="test-resolvers">Test your graph</h2>
8+
<h2 id="database">Connect a database</h2>

docs/source/tutorial/local-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "7. Manage local state"
2+
title: "8. Manage local state"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

docs/source/tutorial/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "6. Update data with mutations"
2+
title: "7. Update data with mutations"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

docs/source/tutorial/production.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
---
2-
title: "3. Run your graph in production"
2+
title: "4. Run your graph in production"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

6-
<h2 id="authentication">Authenticate users</h2>
6+
<h2 id="publish-schema">Publish your schema to Engine</h2>
77

8-
<h2 id="write-schema">Publish your schema to Engine</h2>
8+
<h2 id="deploy">Deploy your graph API</h2>
99

10-
<h2 id="ci-workflow">Integrate your CI workflow</h2>
11-
12-
<h2 id="deploy">Deploy your graph API</h2>
10+
<h2 id="monitoring">Monitor your graph's performance</h2>

docs/source/tutorial/queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "5. Fetch data with queries"
2+
title: "6. Fetch data with queries"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

docs/source/tutorial/resolvers.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "3. Write your graph's resolvers"
3+
description: Start here for the Apollo fullstack tutorial
4+
---
5+
6+
<h2 id="data-sources">Call your data sources in resolvers</h2>
7+
8+
<h2 id="write-query">Write a query in the playground</h2>
9+
10+
<h2 id="authentication">Authenticate users</h2>
11+
12+
<h2 id="testing">Test your graph</h2>

docs/source/tutorial/schema.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ title: "1. Build a schema"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

6-
<h2 id="apollo-server-setup">Set up Apollo Server</h2>
6+
<h2 id="setup">Set up Apollo Server</h2>
77

8-
<h2 id="write-schema">Write your graph's schema</h2>
8+
<h2 id="write">Write your graph's schema</h2>
99

10-
<h2 id="design-schema">Schema design principles</h2>
11-
12-
<h2 id="apollo-server-run">Run your server</h2>
10+
<h2 id="run">Run your server</h2>

0 commit comments

Comments
 (0)