This project was bootstrapped with Create React App.
All prerequisites can be found 👆
git clone
this repo.- Change dir
cd weather-app
. - Run
yarn
and wait for packages to download. - Run
yarn start
.
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Hopefully, it's pretty self-explanatory to use:
- Input a United States city (and/or state), hit enter or click the search icon.
OR
- Click the "FIND ME" button and weather should appear.*
*Note: you must enable browser location tracking. However, to see the error message, feel free to disable it.
- Type in "snow" in the text field to use hard-coded data. You will see a nice example of how the UI changes based on weather.