Skip to content

Commit d10455f

Browse files
committed
Update README.md
1 parent e2f0597 commit d10455f

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Random-Generator-React-Native
22

3+
A intuitive and fun project that helps you understand a little bit about React Router and React Hooks (useState, useEffect) by showing you three ways of getting and displaying data.
4+
5+
1. Online API (Unsplash API)
6+
2. Local JSON file (cityData.json)
7+
3. GitHub Page (My GitHub image storage)
8+
9+
![Unsplash API](./img/unsplash_react.png)
10+
![Random City](./img/city_react.png)
11+
![Gidle](./img/gidle_react.png)
12+
313
# How to run this project locally
14+
Fork my repo and give it a shot!
415
```
516
cd Random-Generator
617
npm install
@@ -9,7 +20,7 @@ npx expo start
920

1021

1122

12-
A intuitive project that helps you understand a little bit about React Router and React Hooks (useState, useEffect)
23+
1324

1425
Expo with router
1526
```
@@ -23,8 +34,4 @@ useState and useEffect, react hook
2334
If you don't use a state variable to hold the image URL, the image won't be able to dynamically change based on user interaction or any other events. Instead, the image will be static and remain the same throughout the component's lifecycle.
2435

2536

26-
27-
download
28-
```
29-
npm install react-native-maps
30-
```
37+
go to https://unsplash.com/developers to request FREE API

0 commit comments

Comments
 (0)