- Serverless Data-Integration Layer
- Typed-API via GraphQL
- Supports multiple GraphQL-APIs
- Logging and Tracing via CloudWatch
- Supports different Authentication types
- Supports different DataSources
- Lambda
- HTTP
- DynamoDB
- Bind Queries, Mutation, Subscription Resolvers to Schema
- Supports different Client-Platforms (iOS, Android, React, React-Native, Angular)
- Some of the SDKs supports Offline-Data-Handling and Optimistic-UI-Updates
See GraphQL-API via Infrastructure as Code with AWS-CDK
yarn add aws-appsync react react-dom react-apollo
yarn add parcel
touch index.html
touch index.jsx
index.html
index.jsx
import React from 'react'
import { render } from 'react-dom'
import Client from 'aws-appsync'
import { ApolloProvider } from 'react-apollo'
import App from './App'
const client = new Client({
url: global.graphqlEndpoint,
region: global.region,
auth: {
type: global.authenticationType,
apiKey: global.apiKey,
}
})
render(<ApolloProvider client={client}><App /></ApolloProvider>, document.getElementById('app'))