This is a simple, not extensive, example of a React developed weather app using:
- Foundation 6 for sites responsive front-end framework
- Dark Sky weather API
- Skycons canvas animated weather icons
- MomentJS Date parsing library
All of these packages are using a React ported version of their scripts.
Just like every node package manager install you just run
npm install
or
yarn install
and let the appropriate packages install.
Please Note: You must define your .env
and .env.server
variables by copying the .env.example
and .env.server.example
files and registering for a Dark Sky developer account first before attempting to run the server.
In the project directory, you can run:
npm run build
npm run server
Runs the app in the production mode.
Open http://localhost:5000 to view it in the browser.