https://github.com/dabit3/bay-area-react-aws-appsync
Repo for the React Native Bay Area Meetup - Introduction to building React apps with GrapQL & AWS AppSync
https://github.com/dabit3/bay-area-react-aws-appsync
apollo aws-appsync graphql react react-apollo
Last synced: 4 months ago
JSON representation
Repo for the React Native Bay Area Meetup - Introduction to building React apps with GrapQL & AWS AppSync
- Host: GitHub
- URL: https://github.com/dabit3/bay-area-react-aws-appsync
- Owner: dabit3
- Created: 2018-08-17T01:26:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-17T11:07:09.000Z (over 7 years ago)
- Last Synced: 2025-02-15T01:09:42.002Z (about 1 year ago)
- Topics: apollo, aws-appsync, graphql, react, react-apollo
- Language: JavaScript
- Size: 78.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building GraphQL Apps with AWS AppSync & React
To get started, first go to the [AWS AppSync Console](https://console.aws.amazon.com/appsync/home?) & create a new API with a custom schema. For the custom schema, use the following:
```graphql
type Pet {
id: ID!
name: String!
description: String
}
```
Once the schema has been created, click the __Create Resources__ button to create the necessary resources.
Next, click on the API name in the left menu, scroll down, click __Web (React)__ & download the AppSync.js config file. Save this file in the src folder of your project.
Next, download the React project:
```sh
git clone https://github.com/dabit3/bay-area-react-aws-appsync.git
```
Now, change into the new directory:
```sh
cd bay-area-react-aws-appsync
```
Finally, run the app:
```sh
npm start
```