mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-05-26 22:57:34 +08:00
Added platform section
This commit is contained in:
29
docs/source/platform/client.md
Normal file
29
docs/source/platform/client.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: Apollo Client
|
||||
description: A one-stop shop for getting started with Apollo Client
|
||||
---
|
||||
|
||||
[Apollo Client](/client/) is the most popular solution for binding GraphQL data to your UI, on every platform. [Learn more](/client) about its benefits and features.
|
||||
|
||||
<h2 id="client-libraries">View integrations</h2>
|
||||
|
||||
The main parts of the project are the GraphQL client libraries for every frontend platform:
|
||||
|
||||
* Apollo Client JavaScript: [Docs](/docs/react/), [GitHub](https://github.com/apollographql/apollo-client)
|
||||
* React and React Native: [Docs](/docs/react/), [GitHub](https://github.com/apollographql/react-apollo)
|
||||
* Vue.js: [Docs, GitHub](https://github.com/akryum/vue-apollo)
|
||||
* Angular: [Docs](/docs/angular/), [GitHub](https://github.com/apollographql/apollo-angular)
|
||||
* Ember: [Docs, GitHub](https://github.com/bgentry/ember-apollo-client)
|
||||
* Meteor: [Docs](/docs/react/recipes/meteor/), [GitHub](https://github.com/apollographql/meteor-integration)
|
||||
* iOS for native Swift: [Docs](/docs/ios), [GitHub](https://github.com/apollographql/apollo-ios)
|
||||
* Android for Java: [Docs, GitHub](https://github.com/apollographql/apollo-android)
|
||||
|
||||
If you don't see your platform here, send a PR to add it, or work on a library of your own!
|
||||
|
||||
<h2 id="developer-tools">Developer tooling</h2>
|
||||
|
||||
In addition to libraries you put in your client, there are some great tools you can use to integrate with your development environment and editor:
|
||||
|
||||
* [GraphQL ESLint Plugin](https://github.com/apollographql/eslint-plugin-graphql): This is a plugin you can add to ESLint to validate your GraphQL queries and see errors show up right inside your editor.
|
||||
* [Apollo Codegen](https://github.com/apollographql/apollo-codegen): You can use this tool to generate static types for your queries, for TypeScript, Flow, Java, Scala, or Swift.
|
||||
* Apollo Client Devtools: This is a Chrome dev tools panel you can use to run GraphQL queries against your server, see what queries and mutations are active in your page, and inspect the current state of the store. [Chrome Web Store](https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm), [GitHub](https://github.com/apollographql/apollo-client-devtools)
|
||||
41
docs/source/platform/engine.md
Normal file
41
docs/source/platform/engine.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
title: Apollo Engine
|
||||
description: Gain visibility into your GraphQL API with Engine
|
||||
---
|
||||
|
||||
[Apollo Engine](https://www.apollographql.com/engine/) is a GraphQL gateway that helps you take GraphQL services into production with confidence.
|
||||
|
||||
Engine sits between your clients and your GraphQL server, delivering essential capabilities like query caching, error tracking, automatic persisted queries, execution tracing, and schema analytics. Engine's data is then aggregated and sent out-of-band to the Engine Service. Currently, Engine works with any spec-compliant GraphQL server, including [Apollo Server](https://www.apollographql.com/docs/apollo-server/), GraphQL-Ruby, Sangria, and Absinthe. You can visualize your stack with Engine in this diagram:
|
||||
|
||||
<div style="text-align:center">
|
||||

|
||||
</div>
|
||||
<br></br>
|
||||
|
||||
<h2 id="features">Features</h2>
|
||||
|
||||
Engine is designed to be your one-stop-shop for GraphQL-specific infrastructure. It provides the following features today:
|
||||
|
||||
<h3 id="analytics">Analytics</h3>
|
||||
|
||||
1. [Performance tracing](/docs/engine/performance.html)
|
||||
1. [Schema analytics](/docs/engine/schema-analytics.html)
|
||||
1. [Error tracking](/docs/engine/error-tracking.html)
|
||||
|
||||
<h3 id="performance">Perfomance</h3>
|
||||
|
||||
1. [Response caching](/docs/engine/caching.html)
|
||||
1. [Automatic persisted queries](/docs/engine/auto-persisted-queries.html)
|
||||
1. [CDN integration](/docs/engine/cdn.html)
|
||||
1. [Query batching](/docs/engine/query-batching.html)
|
||||
|
||||
<h3 id="reporting">Reporting</h3>
|
||||
|
||||
1. [Proactive Alerts](/docs/engine/alerts.html)
|
||||
1. [Daily Slack reports](/docs/engine/reports.html)
|
||||
1. [Datadog Integration](/docs/engine/datadog.html)
|
||||
|
||||
<h2 id="get-started">Get started</h2>
|
||||
|
||||
* [Get started with Engine](https://engine.apollographql.com)
|
||||
* [Read the Engine docs](/docs/engine/)
|
||||
19
docs/source/platform/server.md
Normal file
19
docs/source/platform/server.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Apollo Server
|
||||
description: Build a performant, scalable GraphQL API with Apollo Server
|
||||
---
|
||||
|
||||
[Apollo Server](/docs/apollo-server/v2/) is the best way to quickly build a production-ready, self-documenting API for GraphQL clients, using data from any source.
|
||||
|
||||
It's open-source and works great as a stand-alone server, an addon to an existing Node.js HTTP server, or in "serverless" environments.
|
||||
|
||||
<div align="center">
|
||||
<img src="../assets/apollo-server.svg">
|
||||
</div>
|
||||
|
||||
<h2 id="specifications">Specifications</h2>
|
||||
|
||||
The GraphQL specification is the only thing you need to use all the Apollo tools. Thankfully, the core spec has extension points you can use to add functionality.
|
||||
|
||||
* Apollo Tracing: A spec for adding performance tracing data to your GraphQL response. [Docs, GitHub](https://github.com/apollographql/apollo-tracing)
|
||||
* Apollo Cache Control: A spec for adding performance tracing data to your GraphQL response. [Docs, GitHub](https://github.com/apollographql/apollo-cache-control)
|
||||
Reference in New Issue
Block a user