https://github.com/marcellharmaci/randomuserapibrowser
React Native cross-platform app displaying data from a random user data generator REST API @ randomuser.me
https://github.com/marcellharmaci/randomuserapibrowser
react-native rest-api
Last synced: about 2 months ago
JSON representation
React Native cross-platform app displaying data from a random user data generator REST API @ randomuser.me
- Host: GitHub
- URL: https://github.com/marcellharmaci/randomuserapibrowser
- Owner: MarcellHarmaci
- Created: 2021-05-30T19:55:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T15:18:14.000Z (almost 4 years ago)
- Last Synced: 2025-01-13T11:51:25.318Z (over 1 year ago)
- Topics: react-native, rest-api
- Language: JavaScript
- Homepage:
- Size: 264 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Random User API Browser using React Native
The root of the application is the `App.js` file.
## Screens
The app consists of 2 screens.
- `./screens/RandomUsers`: This is the main page of the app. It displays 20 users in a list. Pull-to-refresh and pagination is implemented.
- `./screens/UserDetails`: Clicking on a list item, we are navigated to this screen. Here the clicked person's data is presented in more detail.
## Navigation
Navigation between screens is implemented in `./navigation/NavigationStack.js` using React's `` component.
## API
The data is fetched from the public REST API available at [https://randomuser.me/](https://randomuser.me/).