/Local-Weather

A web app pulls the current weather at user location and forecast the next 6 days weather

Primary LanguageJavaScript

LOCAL WEATHER APP

A web app pulls the current weather at user location and forecast the next 6 days weather

About

This project was bootstrapped with [Create React App], [FLux] and [SCSS]. This project is using sources from OpenWeatherMap

Development Setup

  1. Install Node v.8.11.3

  2. Confirm npm was installed with Node by running npm -v. You should get a version number (current LTS is 5.6.0).

  3. Clone this repo:

    git clone https://github.com/Huongg/Local-Weather.git && cd Local-Weather
    
  4. Install packages:

    npm install
    

Finish line

If everything is set up correctly, after running npm start, visit localhost:3000 in your browser.

Folder Structure

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