I have recently started learning JavaScript and React, and wanted to create simple projects to learn more while actually doing. This weather app is the third of a series of other web and mobile apps I intend to build to get more experience and skills, which will help me to be ready for real world projects. In this case, I used React Native, since I wanted to learn a bit about it.
In this app, you can select a country from the dropdown list, and some basic information about the current weather will be displayed.
You can check out my other projects here.
- Navigate to the main page of the repository, and click on the code button:
- Click on the tab SSH, and copy the given link:
-
Open your terminal.
-
Change the current working directory to the location where you want the cloned directory.
-
Type git clone, and then paste the SSH you copied earlier:
$ git clone [email protected]:vebarina/mobile-weather-app.git
- Press Enter to create your local clone.
-
Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer.
-
In your terminal, run
npm install -g expo-cli
to install Expo CLI globally. -
Navigate to your cloned repository.
-
Run
npm install
to install all dependencies. -
Run
npm start
orexpo start
to start the app.
On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, use the built-in QR code scanner of the Camera app.