Skip to content

roguezedd/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Works with node version 5.3.0.

Installation

git clone https://github.com/roguezedd/weather.git

cd weather/app
npm install

cd ../proxy
npm install

[ optional ]
vi .env

[ add entries for the following tokens ]
[ see: https://developer.forecast.io/ ]
[ see: https://developers.google.com/maps/documentation/geolocation/intro ]
FORECAST_AUTH=yourTokenHere
GOOGLE_AUTH=yourTokenHere

Run the app

First terminal

cd weather/app
npm start

Second terminal

cd weather/proxy

npm start --mockApi true

[ or if you added an .env file ]
npm start

In your browser, visit: http://localhost:8080/

Build the app

cd weather/app
npm run build

Built files are added to the weather/app/build directory.

Test the app

cd weather/app
npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages