A web app pulls the current weather at user location and forecast the next 6 days weather
This project was bootstrapped with [Create React App], [FLux] and [SCSS]. This project is using sources from OpenWeatherMap
-
Install Node v.8.11.3
- Easiest method: Install nvm and then run
nvm install v8.11.3
- Or follow Node.js installation instructions
- Easiest method: Install nvm and then run
-
Confirm npm was installed with Node by running
npm -v
. You should get a version number (current LTS is 5.6.0).- If you get
npm: command not found
, install npm.
- If you get
-
Clone this repo:
git clone https://github.com/Huongg/Local-Weather.git && cd Local-Weather
-
Install packages:
npm install
If everything is set up correctly, after running npm start
, visit localhost:3000 in your browser.
After installation, your project should look like this:
Local-Weather/
config/
lib/
node_modules/
_tests_/
actions/
mocks/
utils/
public/
assets/
index.html
scripts/
src/
actions/
AppAction.js
get_current_location.js
componets/
MainWeather/
CurrentTemp.js
Dates.js
Mainweather.js
SimilarTemps.js
SetupMenu/
ButtonUnit.js
InputForm.js
SetupMenu.js
TestComponent.js
dispatcher/
AppDispatcher.js
store/
AppStore.js
stylesheets/
abstracts/
colours.scss
minxins.scss
variables.scss
base/
typography.scss
components/
buttons.scss
pages/
mainPage.scss
setUpPage.scss
vendors/
bootstrap.scss
main.scss
utils/
API_weather_helpers.js
date_helpers.js
date_time_format.js
registerServiceWorkder.js
index.js
.gitignore
package.json
package-lock.json
README.md
yarn.lock