Lab Native React Native Project

In this lab, we will create the shell for your first react native application.   Will be running the application inside the expo run time environment. Follow the steps below to set up your expo environment.

1. Get the command-line tool

You will run this tool locally to package, serve, and publish your projects.

npm install expo-cli --global

2. Create your project’s folder.

You will be asked to create an Expo account before proceeding.

expo init lab7
cd lab7
expo start

3. Preview your project

Download the expo client for your device. [IOS] & [Android]

4. Implement the generates a random Chuck Norris Joke

Write an application that generates a random Prof X Joke every 20 seconds.

Your application should call this API [].  Your application should only display jokes for the nerdy category.

And should parse the JSON object below. And display the joke.

{ "type": "success", "value": { "id": 546, "joke": "Prof X does infinite loops in 4 seconds.", "categories": ["nerdy"] } }

%d bloggers like this: