https://github.com/hendricius/react-native-task
https://github.com/hendricius/react-native-task
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hendricius/react-native-task
- Owner: hendricius
- Created: 2017-03-16T13:59:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T06:21:25.000Z (about 8 years ago)
- Last Synced: 2025-02-16T02:24:03.479Z (3 months ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React native test task
The goal is to do a little bit of react native work and show that you can build an UI and work with a rest API. Please make sure to check the general notes at the end.
## Task
Pick any subreddit you like. For instance you could pick https://www.reddit.com/r/aww.json as it contains super cute puppy pictures. Setup a basic react native app that allows the user to interact with the subreddit as outlined in the user flow below:
## User flow
### Login view
* User opens the app and is presented a login form
* He can log in with an arbitrary username (for sake of simplicity) and the password "password"
* If credentials are correct, he gets redirected to the second view. Else he gets some notification to check credentials for correctness.### Reddit overview
* User sees a view where on top the name of the reddit and the username he used to log in are displayed.
* Below there is a list of the puppy pictures.
* The user can approve/disapprove the individual images by swiping either left or right like one can do in tinder.### Users approve/disapprove list
* User can switch to this view (and back to the previous view by some kind of menu).
* He will see a list with small preview images of the puppets and some nice indication of he approved or this approved the puppy.## General notes
* No need to reinvent the wheel: If you know a library that does what you need, use it. Good coders write less code, not more.
* If you use a react-native project template to start off please seperate this into an extra commit, so that we can see what you personally did.
* You don't have to create an app that runs both on iOS and Android. You can pick either one (although being cross-plattform is of course nice).