Skip to content

Commit fadf3ca

Browse files
authored
fix: Rename example app for consistency in quickstart guide (#8039)
1 parent 05bb1b0 commit fadf3ca

File tree

1 file changed

+10
-10
lines changed
  • src/pages/[platform]/start/quickstart

1 file changed

+10
-10
lines changed

src/pages/[platform]/start/quickstart/index.mdx

+10-10
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ document.addEventListener("DOMContentLoaded", function () {
263263
});
264264
}
265265
}
266-
266+
267267

268268
client.models.Todo.observeQuery().subscribe({
269269
next: (data) => {
@@ -360,7 +360,7 @@ Now let's set up our local development environment to add features to the fronte
360360

361361
<Video src="/images/gen2/getting-started/react/branch-details.mp4" description="Video - Deployments" />
362362

363-
At the bottom of the page you will see a tab for **Deployed backend resources**. Click on the tab and then click the **Download amplify_outputs.json file** button.
363+
At the bottom of the page you will see a tab for **Deployed backend resources**. Click on the tab and then click the **Download amplify_outputs.json file** button.
364364

365365
![](/images/gen2/getting-started/react/amplify-outputs-download.png)
366366

@@ -710,7 +710,7 @@ Now let's set up our local development environment to add features to the fronte
710710

711711
<Video src="/images/gen2/getting-started/react/branch-details.mp4" description="Video - Deployments" />
712712

713-
At the bottom of the page you will see a tab for **Deployed backend resources**. Click on the tab and then click the **Download amplify_outputs.json file** button.
713+
At the bottom of the page you will see a tab for **Deployed backend resources**. Click on the tab and then click the **Download amplify_outputs.json file** button.
714714

715715
![](/images/gen2/getting-started/react/amplify-outputs-download.png)
716716

@@ -1016,7 +1016,7 @@ Let's take a tour of the project structure in this starter repository by opening
10161016
<Video src="/images/gen2/getting-started/react/hosted-app.mp4" description="Video - Visit Deployed URL" />
10171017

10181018
In the Amplify console, click into the deployment branch (in this case **main**) > select **Data** in the left-hand menu > **Data manager** to see the data entered in your database.
1019-
1019+
10201020
<Video src="/images/gen2/getting-started/amplify-console-data-manager.mp4" description="Video - Data Manager"/>
10211021

10221022
## Make frontend updates
@@ -1756,7 +1756,7 @@ Now you should have your project created.
17561756
The easiest way to get started with AWS Amplify is through npm with `create-amplify` command. You can run it from your base project directory.
17571757

17581758
```bash title="Terminal" showLineNumbers={false}
1759-
cd my-app
1759+
cd my_amplify_app
17601760
npm create amplify@latest
17611761
? Where should we create your project? (.) # press enter
17621762
```
@@ -2000,7 +2000,7 @@ class TodoViewModel: ObservableObject {
20002000
}
20012001
```
20022002

2003-
This will assign the value of the fetched todos into a Published object.
2003+
This will assign the value of the fetched todos into a Published object.
20042004

20052005
Now let's update the UI code to observe the todos. Update the `VStack` in the `ContentView.swift` file with the following code:
20062006

@@ -2076,7 +2076,7 @@ class TodoViewModel: ObservableObject {
20762076
}
20772077
}
20782078
}
2079-
2079+
20802080
func updateTodo(todo: Todo) async {
20812081
do {
20822082
let result = try await Amplify.API.mutate(request: .update(todo))
@@ -2503,7 +2503,7 @@ setContent {
25032503
MyAmplifyAppTheme {
25042504
// A surface container using the 'background' color from the theme
25052505
Surface(
2506-
modifier = Modifier.fillMaxSize(),
2506+
modifier = Modifier.fillMaxSize(),
25072507
color = MaterialTheme.colorScheme.background
25082508
) {
25092509
Authenticator { state ->
@@ -2537,7 +2537,7 @@ fun TodoList() {
25372537
Amplify.API.subscribe(
25382538
ModelSubscription.onCreate(Todo::class.java),
25392539
{ Log.i("ApiQuickStart", "Subscription established") },
2540-
{
2540+
{
25412541
Log.i("ApiQuickStart", "Todo create subscription received: ${it.data}")
25422542
todoList = todoList + it.data
25432543
},
@@ -2674,7 +2674,7 @@ npx expo prebuild
26742674
The easiest way to get started with AWS Amplify is through npm with `create-amplify` command. You can run it from your base project directory.
26752675
26762676
```bash title="Terminal" showLineNumbers={false}
2677-
cd my-app
2677+
cd my_amplify_app
26782678
npm create amplify@latest
26792679
? Where should we create your project? (.) # press enter
26802680
```

0 commit comments

Comments
 (0)