All Projects → amazon-archives → Aws Mobile Appsync Events Starter React Native

amazon-archives / Aws Mobile Appsync Events Starter React Native

Licence: other
GraphQL starter application with Realtime and Offline functionality using AWS AppSync

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Aws Mobile Appsync Events Starter React Native

Aws Mobile Appsync Events Starter React
GraphQL starter application with Realtime and Offline functionality using AWS AppSync
Stars: ✭ 337 (+151.49%)
Mutual labels:  graphql, appsync, aws, real-time, realtime, offline
Aws Mobile Appsync Chat Starter Angular
GraphQL starter progressive web application (PWA) with Realtime and Offline functionality using AWS AppSync
Stars: ✭ 449 (+235.07%)
Mutual labels:  graphql, appsync, aws, real-time, offline
Aws Appsync Community
The AWS AppSync community
Stars: ✭ 356 (+165.67%)
Mutual labels:  graphql, appsync, aws, realtime
aws-mobile-appsync-events-starter-ios
GraphQL starter application with Realtime and Offline functionality using AWS AppSync
Stars: ✭ 99 (-26.12%)
Mutual labels:  real-time, offline, realtime, appsync
Aws Mobile Appsync Sdk Ios
iOS SDK for AWS AppSync.
Stars: ✭ 231 (+72.39%)
Mutual labels:  graphql, appsync, aws
Spikenail
A GraphQL Framework for Node.js
Stars: ✭ 358 (+167.16%)
Mutual labels:  graphql, real-time, realtime
Aws Serverless Appsync Loyalty
Unicorn Loyalty: E-Commerce Serverless GraphQL Loyalty Sample App
Stars: ✭ 110 (-17.91%)
Mutual labels:  graphql, appsync, aws
Graphql Auto Transformer
A custom transformer of the amplify-cli. It can control accessibility of auto generated fields.
Stars: ✭ 31 (-76.87%)
Mutual labels:  graphql, appsync, aws
Aws Mobile Appsync Sdk Js
JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Stars: ✭ 806 (+501.49%)
Mutual labels:  graphql, appsync, aws
Aws Appsync Chat
Real-Time Offline Ready Chat App written with GraphQL, AWS AppSync, & AWS Amplify
Stars: ✭ 522 (+289.55%)
Mutual labels:  graphql, real-time, offline
Serverless
This is intended to be a repo containing all of the official AWS Serverless architecture patterns built with CDK for developers to use. All patterns come in Typescript and Python with the exported CloudFormation also included.
Stars: ✭ 1,048 (+682.09%)
Mutual labels:  graphql, appsync, aws
Appsync Resolvers Example
Example project for AppSync, GraphQL, and AWS Lambda resolvers using Go.
Stars: ✭ 50 (-62.69%)
Mutual labels:  graphql, appsync, aws
Moviesapp
React Native Movies App: AWS Amplify, AWS AppSync, AWS Cognito, GraphQL, DynamoDB
Stars: ✭ 78 (-41.79%)
Mutual labels:  graphql, appsync, aws
Rtmlton
MLton with Realtime GC and Threading features
Stars: ✭ 98 (-26.87%)
Mutual labels:  real-time, realtime
Sandstone
PHP microframework designed to build a RestApi working together with a websocket server. Build a real time RestApi!
Stars: ✭ 98 (-26.87%)
Mutual labels:  real-time, realtime
Hype Beats
Real-time Collaborative Beatbox with React & GraphQL
Stars: ✭ 100 (-25.37%)
Mutual labels:  graphql, real-time
Thorium
Platform for starship simulator controls
Stars: ✭ 109 (-18.66%)
Mutual labels:  graphql, realtime
Aws Serverless Airline Booking
Airline Booking is a sample web application that provides Flight Search, Flight Payment, Flight Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD. This web application was the theme of Build on Serverless Season 2 on AWS Twitch running from April 24th until end of August in 2019.
Stars: ✭ 1,290 (+862.69%)
Mutual labels:  graphql, aws
Graphql Subscriptions
📰 A small module that implements GraphQL subscriptions for Node.js
Stars: ✭ 1,390 (+937.31%)
Mutual labels:  graphql, real-time
Json Serverless
Transform a JSON file into a serverless REST API in AWS cloud
Stars: ✭ 108 (-19.4%)
Mutual labels:  graphql, aws

Introduction

This is a Starter React Native application for using the Sample app in the AWS AppSync console when building your GraphQL API. The Sample app creates a GraphQL schema and provisions Amazon DynamoDB resources, then connects them appropriately with Resolvers. The application demonstrates GraphQL Mutations, Queries and Subscriptions using AWS AppSync. You can use this for learning purposes or adapt either the application or the GraphQL Schema to meet your needs.

EventDetails

Features

  • GraphQL Mutations

    • Create new events
    • Create comments on existing events
  • GraphQL Queries

    • Get all events (w/ pagination support)
    • Get an event by Id
  • GraphQL Subscriptions

    • Real time updates for comments on an event
  • Authorization

    • The app uses API Key as the authoriation mechanism

AWS Setup

  1. Navigate to the AWS AppSync console using the URL: http://console.aws.amazon.com/appsync/home

  2. Click on Create API and select the Sample Schema option. Enter a API name of your choice. Click Create.

React Native Setup

First, clone this repo:

git clone https://github.com/aws-samples/aws-mobile-appsync-events-starter-react-native.git
cd ./aws-mobile-appsync-events-starter-react-native

Wait until the progress bar at the top has completed deploying your resources. Then from the integration page of your GraphQL API (you can click the name you entered in the left hand navigation).

On this same page, select JavaScript at the bottom to download your aws-exports.js configuration file by clicking the Download Config button. Replace the aws-exports.js file in the root of your app with the file you just downloaded.

Start the application:

npm install 
npm run ios   #run-android

Application Walkthrough

App.js

  • Sets up the application navigation between screens using StackNavigator.
  • Configures the AWSAppSyncClient using an API Key. This can be configured to use Amazon Cognito Identity or Amazon Cognito User Pools as well.
  • Uses Higher Order Components for making GraphQL calls to AWS AppSync.

./Components/AllEvents.js

  • View to display all the events from ./queries/ListEvents.js with a ScrollView
  • Allows you to delete individual events with a swipe. This will use ./queries/DeleteEvent.js

./Components/AddEvent.js

  • View to create a new event using ./queries/CreateEvent.js

./queries Directory

  • Contains GraphQL queries and mutations for interacting with AWS AppSync.
  • Contains two optional queries (CommentOnEvent.js and GetEvent.js) for you to enhance the sample.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].