Edited the structure, added page on resolvers

This commit is contained in:
Peggy Rayzis
2018-09-28 09:50:18 -04:00
parent 272bb41b2a
commit 7e7d6912a2
10 changed files with 28 additions and 33 deletions

View File

@@ -10,6 +10,7 @@ sidebar_categories:
- tutorial/introduction
- tutorial/schema
- tutorial/data-source
- tutorial/resolvers
- tutorial/production
- tutorial/client
- tutorial/queries

View File

@@ -1,18 +1,10 @@
---
title: Welcome
description: Start here to learn how to use the Apollo platform.
description: Start here to learn about the Apollo platform
---
<div class="docstart" align="center">
<div class="pop-banner">
<div class="pb-content pb-early-access">Early Access</div>
<div class="pb-content pb-head">Interested in running GraphQL on the edge?</div>
<div class="pb-content pb-link">
<a href="/edge">Sign up to try Apollo Server on Cloudflare.</a>
</div>
</div>
<div class="fundamentals">
<div align="center">
<a href="./fundamentals/platform.html">

View File

@@ -1,5 +1,5 @@
---
title: "4. Connect your API to a client"
title: "5. Connect your API to a client"
description: Start here for the Apollo fullstack tutorial
---
@@ -7,4 +7,6 @@ description: Start here for the Apollo fullstack tutorial
<h2 id="apollo-client-setup">Create an Apollo Client</h2>
<h2 id="apollo-client-setup">Make your first query</h2>
<h2 id="react-apollo">Connect your client to React</h2>

View File

@@ -3,14 +3,6 @@ title: "2. Hook up your data sources"
description: Start here for the Apollo fullstack tutorial
---
<h2 id="data-source">What is a data source?</h2>
<h2 id="rest-api">Connect a REST API</h2>
<h2 id="database">Connect a database</h2>
<h2 id="resolvers">Call your data sources in resolvers</h2>
<h2 id="write-query">Write a query in the playground</h2>
<h2 id="test-resolvers">Test your graph</h2>
<h2 id="database">Connect a database</h2>

View File

@@ -1,5 +1,5 @@
---
title: "7. Manage local state"
title: "8. Manage local state"
description: Start here for the Apollo fullstack tutorial
---

View File

@@ -1,5 +1,5 @@
---
title: "6. Update data with mutations"
title: "7. Update data with mutations"
description: Start here for the Apollo fullstack tutorial
---

View File

@@ -1,12 +1,10 @@
---
title: "3. Run your graph in production"
title: "4. Run your graph in production"
description: Start here for the Apollo fullstack tutorial
---
<h2 id="authentication">Authenticate users</h2>
<h2 id="publish-schema">Publish your schema to Engine</h2>
<h2 id="write-schema">Publish your schema to Engine</h2>
<h2 id="deploy">Deploy your graph API</h2>
<h2 id="ci-workflow">Integrate your CI workflow</h2>
<h2 id="deploy">Deploy your graph API</h2>
<h2 id="monitoring">Monitor your graph's performance</h2>

View File

@@ -1,5 +1,5 @@
---
title: "5. Fetch data with queries"
title: "6. Fetch data with queries"
description: Start here for the Apollo fullstack tutorial
---

View File

@@ -0,0 +1,12 @@
---
title: "3. Write your graph's resolvers"
description: Start here for the Apollo fullstack tutorial
---
<h2 id="data-sources">Call your data sources in resolvers</h2>
<h2 id="write-query">Write a query in the playground</h2>
<h2 id="authentication">Authenticate users</h2>
<h2 id="testing">Test your graph</h2>

View File

@@ -3,10 +3,8 @@ title: "1. Build a schema"
description: Start here for the Apollo fullstack tutorial
---
<h2 id="apollo-server-setup">Set up Apollo Server</h2>
<h2 id="setup">Set up Apollo Server</h2>
<h2 id="write-schema">Write your graph's schema</h2>
<h2 id="write">Write your graph's schema</h2>
<h2 id="design-schema">Schema design principles</h2>
<h2 id="apollo-server-run">Run your server</h2>
<h2 id="run">Run your server</h2>