An open API service indexing awesome lists of open source software.

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

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/).