Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.07 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.07 KB

Weather Web App

A web app which can display a five day weather forecast based upon Metaweather API.

Built With

Install dependencies

yarn install

How to start

  1. Start back-end API
    yarn start-server
  2. Start React app and open http://localhost:3000 to view it in the browser
    yarn start-client

Other available scripts

Launches the React app's test runner in the interactive watch mode.

yarn test-client

Builds the React app for production to the build folder in packages/client.

 yarn build-client

Issues

If you get this error code "UNABLE_TO_GET_ISSUER_CERT_LOCALLY" when running the back-end API, please add this line to your terminal environment (~/.bashrc, ~/.zshrc, or equivalent), then restart your terminal and run "yarn start-server" to start the back-end API again.

  export NODE_TLS_REJECT_UNAUTHORIZED = 0