π‘Simple energy usage API built using Node.js, TypeScript & Koa
WTFPL License
A simple API server that lets users access and add meter readings.
The API also extrapolates meter readings to guesstimate the end-of-month cumulative readings.
π£ Note that this project was purpose-built for a coding challenge (see problem statement).
git clone https://github.com/paambaati/reading-between-the-lines
cd reading-between-the-lines
yarn install
yarn build
yarn start
For debugging in watch-mode with additional logs, use β
yarn debug
yarn run coverage
Once the API is up, import the api.postman_collection.json
file in Postman to test the APIs.