You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-5Lines changed: 39 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,45 @@
1
-
## My Project
1
+
## Building a Quiz Game with AWS Amplify Gen 2 and React Native
2
2
3
-
TODO: Fill this README out!
3
+
> This repository contains the app that is created through the blog post over [community.aws](https://community.aws/content/2oFXtL8vTeHWORWVkx8ak2gCgxf). For seeing a detailed explanation on how to build the app, check out the blog post.
4
4
5
-
Be sure to:
5
+
### Requirements
6
6
7
-
* Change the title in this README
8
-
* Edit your repository description on GitHub
7
+
Before you move forward, be sure to have:
8
+
- npm (Node Package Manager) installation
9
+
- An AWS Account configured for local development
10
+
- Check out the [account configuration documentation](https://docs.amplify.aws/react/start/account-setup/) for detailed instructions.
11
+
- Expo CLI
12
+
13
+
### Running the project
14
+
For running the project, first you need to install the npm libraries by running:
15
+
16
+
```bash
17
+
npm install
18
+
```
19
+
20
+
Next, you can run the new sandbox environment by running:
21
+
```bash
22
+
npx ampx sandbox
23
+
```
24
+
25
+
Next, if you are running on **Android**, be sure to add the Android SDK location to the `android/local.properties` file:
26
+
```bash
27
+
sdk.dir=/path/to/your/Android/sdk
28
+
```
29
+
30
+
Lastly, you can run the applications on both iOS and Android by running:
31
+
32
+
```bash
33
+
npx expo run:ios # for iOS
34
+
npx expo run:android #for Android
35
+
```
36
+
37
+
### Cleaning up the resources
38
+
Be sure to clean up your resources once you are done with the testing. You can clean the resources by running:
0 commit comments