Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 1.46 KB

README.md

File metadata and controls

72 lines (51 loc) · 1.46 KB

Build Status

React Weather app

Application retrieves and displays weather information with forecasts by searching for city or using current location

How to use

Clone repo and install

npm clone git@github.com:taavikybar/react-weather-app.git
npm i

Run server

npm run start

Or run Webpack Dev server

npm run dev

App is running at http://localhost:4300/

For live demo got to Demo page

Tests

Jest and Enzyme are used for unit testing

Run tests:

npm run test
npm run test-watch

Coverage report:

npm run coverage

generates a line coverage report into ./coverage folder

Linting

To run ESLint:

npm run lint

Documentation

To re-generate documentation using jsdoc-to-markdown run:

npm run create-docs

NB! It will delete all the docs files first

Components