Skip to content

Commit a1debed

Browse files
committed
Update README.md
1 parent b3c243f commit a1debed

File tree

2 files changed

+41
-7
lines changed

2 files changed

+41
-7
lines changed

README.md

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,45 @@
1-
## My Project
1+
## Building a Quiz Game with AWS Amplify Gen 2 and React Native
22

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.
44
5-
Be sure to:
5+
### Requirements
66

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:
39+
40+
```bash
41+
npx ampx sandbox delete
42+
```
943

1044
## Security
1145

ios/amplifyquiz.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
);
352352
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
353353
PRODUCT_BUNDLE_IDENTIFIER = com.example.amplifyQuiz;
354-
PRODUCT_NAME = amplifyquiz;
354+
PRODUCT_NAME = "amplifyquiz";
355355
SWIFT_OBJC_BRIDGING_HEADER = "amplifyquiz/amplifyquiz-Bridging-Header.h";
356356
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
357357
SWIFT_VERSION = 5.0;
@@ -379,7 +379,7 @@
379379
);
380380
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
381381
PRODUCT_BUNDLE_IDENTIFIER = com.example.amplifyQuiz;
382-
PRODUCT_NAME = amplifyquiz;
382+
PRODUCT_NAME = "amplifyquiz";
383383
SWIFT_OBJC_BRIDGING_HEADER = "amplifyquiz/amplifyquiz-Bridging-Header.h";
384384
SWIFT_VERSION = 5.0;
385385
TARGETED_DEVICE_FAMILY = "1,2";

0 commit comments

Comments
 (0)