In order to run the app, we will need to set up some things. The next steps will get you a copy of the project up and running on your local machine.
Clone this repo to your local computer with the following command:
git clone https://github.com/matteo95g/breezometer.git
Next, move to the new directory:
cd breezometer
Once in the directory, run the following command to install node.js libraries:
npm install
Now, you are in conditions to run the app. Run the following command:
npm start
Go to your browser, and write: http://localhost:3000/ you will see the app running.
In the app you will see a text input for typing in a location, ex: 'Paris, France'. The app will request breezometer API and display air quality info along with some color indicator. In case the API responds with an error, the app should display an appropriate message.
To run tests, go to the root folder of the app. Once there, run the following command:
npm test
Follow the instructions on the screen to test the app.