Skip to content

brandonlafave/react-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Weather App

Live Demo

Run Locally

Configure API Key

You'll need a Dark Sky API key to run the app locally.

Do the following to add an API key:

  1. Create a new file called config.json inside the src folder
  2. Copy and paste the contents of config.example.json into config.json
  3. Replace the value assigned to API_KEY in config.json with your Dark Sky API key
  4. Save config.json

Start Server

Please see the Configure API Key section before starting the server.

Do the following to run the app in development mode:

  1. Open your terminal
  2. Runyarn start
  3. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Run Tests

Please see the Configure API Key section before starting the server.

Do the following to launch the test runner in the interactive watch mode:

  1. Open your terminal
  2. Runyarn test
  3. Press a to run all tests

This project was bootstrapped with Create React App.

About

A weather app made with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors