Skip to content

Commit 53e0047

Browse files
Update amplifycli_react_tutorial.md
1 parent 858c9e6 commit 53e0047

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

amplifycli_react_tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You can now use `amplify publish` to build and publish your app again. This time
7070

7171
# Add Analytics and Storage
7272

73-
A login screen is nice but now is the time to add some features, like tracking analytics of user behavior and uploading/downloading images in the cloud. Start by running `amplify add analyitcs` in your project. Then run `amplify add storage` and select the S3 provider. When complete run `amplify push` and the cloud resources will be created.
73+
A login screen is nice but now is the time to add some features, like tracking analytics of user behavior and uploading/downloading images in the cloud. Start by running `amplify add analytics` in your project. Then run `amplify add storage` and select the S3 provider. When complete run `amplify push` and the cloud resources will be created.
7474

7575
Edit your `App.js` file in the React project again and modify your imports so that the `Analytics` and `Storage` categories are included as well as the `S3Album` component, which will be used for uploading and downloading photos.
7676

@@ -124,7 +124,7 @@ Now that your application is setup, the final piece is to add a backend API with
124124
- `@connection` for specifying relationships between `@model` object types
125125
- `@searchable` to stream `@model` types into Amazon Elasticsearch
126126

127-
To get started run `amplify add api` and select `GraphQL`. When prompted choose `Amazon Cognito User Pools` and the project will leverage your existing Auth setup. Select **No** when asked for an `annotated schema` and **Yes** when asked about `guided schema creation`.
127+
To get started run `amplify add api` and select `GraphQL`. When prompted choose `Amazon Cognito User Pool` and the project will leverage your existing Auth setup. Select **No** when asked for an `annotated schema` and **Yes** when asked about `guided schema creation`.
128128

129129
The guided creation will give some default schemas that are pre-annotated for you for learning purposes. The following steps take you through choosing `Single object with fields` but feel free to revisit these steps later in another project. If you choose this option you'll see the following annotated schema in your text editor:
130130

@@ -136,7 +136,7 @@ type Todo @model {
136136
}
137137
```
138138

139-
This is the GraphQL schema that will be deployed to AWS AppSync. If you're familiar with GraphQL you could rename/add fields & types, but note the client code would need to change as well. When you're ready press `enter` in the CLI and then `No` on the next question followed by `amplify push`.
139+
This is the GraphQL schema that will be deployed to AWS AppSync. If you're familiar with GraphQL you could rename/add fields & types, but note the client code would need to change as well. When you're ready press `enter` in the CLI followed by `amplify push`.
140140

141141
After the deployment is done open your `App.js` again and update the import to include both the `API` category and `graphqlOperation` method:
142142

@@ -274,7 +274,7 @@ In your project directory, open `./amplify/backend/function` and you will see th
274274

275275
# Testing your Function
276276

277-
Amplify CLI supports local testing of Lambda functions. Run `amplfiy status` to get the resource name of the Lambda function created earlier, and execute:
277+
Amplify CLI supports local testing of Lambda functions. Run `amplify status` to get the resource name of the Lambda function created earlier, and execute:
278278

279279
```
280280
amplify function invoke <resourcename>

0 commit comments

Comments
 (0)