Verivox assignment

Instructions to run the project

  1. yarn
  2. yarn start -- This will run the project on port 4000
  3. yarn test -- To run the test

API Documentation

  1. /api/health-check - returns OK if service is up

  2. /api/tariff?consumption=

Accepts - Consumption (kWh/year)
Returns - List of Products in ascending order of their annual costs