We want to build a quick & simple client app that looks up a person via an API and displays the fetched name, age and job on the client.
- URL to look up a person:
https://coruscant-one.firebaseio.com/people/{name}.json
- Query Parameter:
"auth" : {auth_token}
- Returns: A person with the format:
{
“name” : “A name”,
“job” : “A job”,
“age” : 100
}
The UI should be very simple:
- A way to enter the name of the person that we want to look up (e.g. via a text field)
- A submit button to submit the request
- Anything to display the fetched result (name, age and job). Can be a single label or anything else you prefer
- Auth token:
7Ym0TKci1i5otNZORBrDQJiz6Wmd8T0jBbpSVO48
- Person to look up:
yoda
- You can either fetch this repository (empty project) or create a project from scratch
- You can use anyting that you would use in your normal job as well (Google, Stackoverflow ...)
- Keep it simple. Time is limited to 30 minutes