HorrorOfPartyBeach / RN-Weather-App

React Native Weather App using OpenWeatherAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


React Native Weather App

A litte weather app built with React Native, TypeScript and OpenWeatherAPI.

Report Bug/Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Acknowledgments

About The Project

I've been doing some React Native training and decided to build this little weather app based on Aman Mittal's tutorial.

I used one of the React Native project templates (could have chosen one that was more minimal in hindsight) and have updated or refactored some of the code from both the template and tutorial as I came across a couple of errors (e.g. navigator.geolocation seems to be deprecated so I used expo-location instead).

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • yarn
    npm install --global yarn

Installation

  1. Get a free API Key at https://openweathermap.org/api
  2. Clone the repo
    git clone https://github.com/HorrorOfPartyBeach/RN-Weather-App.git
  3. Install Yarn packages
    yarn install
  4. Enter your API in utils/WeatherAPIKey.js
    const API_KEY = 'ENTER YOUR API';

(back to top)

Acknowledgments

(back to top)

About

React Native Weather App using OpenWeatherAPI


Languages

Language:TypeScript 88.2%Language:JavaScript 11.8%