View on GitHub

reading-notes

GraphQL @connection

review:What is Serverless Architecture? What are its Pros and Cons?

AWS Amplify feature Do
Authentication Create seamless on-boarding flows with a fully-managed user directory and pre-built sign-up, sign-in, forgot password, and multi-factor auth workflows.
DataStore Use a multi-platform (iOS/Android/React Native/Web) on-device persistent storage engine that automatically synchronizes data between mobile/web apps and the cloud, powered by GraphQL.
Analytics Understand the behavior of your web, iOS or Android users. Use auto tracking to track user sessions and web page metrics or create custom user attributes and in-app metrics.
API Make secure HTTP requests to GraphQL and REST endpoints to access, manipulate, and combine data from one or more data sources
Functions Add a Lambda function to your project which you can use alongside a REST API or as a datasource in your GraphQL API using the @function directive in the Amplify CLI.
Interactions Build interactive and engaging conversational bots with the same deep learning technologies that power Amazon Alexa with just a single line of code.
Predictions Enhance your app by adding AI/ML capabilities. You can easily achieve use cases like text translation, speech generation from text, entities recognition in image, interpretation of text, and transcribing text.
PubSub Pass messages between your app instances and your app’s backend creating real-time interactive experiences. Amplify provides connectivity with cloud-based message-oriented middleware. Powered by AWS IoT services and Generic MQTT Over WebSocket Providers.
Push notifications Improve customer engagement by using marketing and analytics capabilities. Leverage customer insights to segment and target your customers more effectively.
Storage Store and manage user generated content such as photos, videos securely on device or in the cloud.

#

GraphQL @connection

type Team @model { id: ID! name: String! }

- Has many Example:

type Post @model { id: ID! title: String! comments: [Comment] @connection(keyName: “byPost”, fields: [“id”]) }

type Comment @model @key(name: “byPost”, fields: [“postID”, “content”]) { id: ID! postID: ID! content: String! } ```