Skip to content

jplam123/weather-exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-exercise

A basic exercise for beginners with React to understand hooks and functional components

Pre-reqs

  1. You must have node/npm installed

Getting started

Follow this getting started guide:

Clone the repo

git clone [email protected]:stefan-cooper/weather-exercise.git

Change directory into newly cloned repo

cd weather-exercise

Install dependencies

npm install

Set up your env

touch .env

Edit your env to include the following env var:

REACT_APP_WEATHER_API_KEY=<your_api_key>

You can retrieve your weather api key from here: https://home.openweathermap.org/api_keys

You're good to go! Make use of the scripts below to run and test your app.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

About

A basic exercise for beginners with React to understand hooks and functional components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.7%
  • SCSS 13.3%
  • HTML 13.0%