git clone https://github.com/dfourcfive/air_quality.git
cd air_quality
Install dependencies:
npm install
use your IQAIR api key in dev.env:
API = YOUR_IQAIR_API_KEY
Set environment variables:
note : this script must be excuted first!
bash to_dev.sh
Running Locally
node server.js
Test
# run all tests with Jest
npm run test# run unit tests
npm run test:unit
# run integration tests
npm run test:integration
# run all tests and watch for changes
npm run test:watch
# generate coverage reports
npm run coverage