在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):aws-samples/aws-amplify-graphql开源软件地址(OpenSource Url):https://github.com/aws-samples/aws-amplify-graphql开源编程语言(OpenSource Language):JavaScript 87.3%开源软件介绍(OpenSource Introduction):AWS AppSync GraphQL Photo SamplePlease submit issues to the appsync-sdk-js repository. This sample application shows how to use GraphQL to build an application that a user can login to the system, then upload and download photos which are private to them. The sample is written in React and uses AWS AppSync, Amazon Cognito, Amazon DynamoDB and Amazon S3 as well as the Amplify CLI. Architecture OverviewPrerequisites
Getting Started
The AWS Amplify CLI will create an Amazon Cognito User Pool and Identity Pool, an Amazon S3 bucket with private directories to store each user's photo and an AWS AppSync API that uses Amazon DynamoDB to store data. The sample uses AWS Amplify to perform the Sign-Up and Sign-In flows with a Higher Order Component. If the application runs successfully you should be able to enter the name of a photo, choose a file and then press Add photo. This will make a GraphQL call to enter the record into the database and simultaneously upload the object to S3. An immediate fetch of the record will then be at the bottom of the screen. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论