https://github.com/paambaati/reading-between-the-lines
💡Simple energy usage API built using Node.js, TypeScript & Koa
https://github.com/paambaati/reading-between-the-lines
bulb coding-challenge interview-questions koa koa2 nodejs typescript
Last synced: 4 months ago
JSON representation
💡Simple energy usage API built using Node.js, TypeScript & Koa
- Host: GitHub
- URL: https://github.com/paambaati/reading-between-the-lines
- Owner: paambaati
- License: wtfpl
- Created: 2019-08-05T11:14:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T23:49:50.000Z (over 3 years ago)
- Last Synced: 2025-08-21T02:47:44.752Z (10 months ago)
- Topics: bulb, coding-challenge, interview-questions, koa, koa2, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 949 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reading-between-the-lines
[](https://actions-badge.atrox.dev/paambaati/reading-between-the-lines/goto) [](https://codeclimate.com/github/paambaati/reading-between-the-lines/test_coverage) [](https://codeclimate.com/github/paambaati/reading-between-the-lines/maintainability) [](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](PROBLEM-STATEMENT.md)).
### 🛠️ Setup
```bash
git clone https://github.com/paambaati/reading-between-the-lines
cd reading-between-the-lines
yarn install
yarn build
```
#### 👩🏻💻 Usage
```bash
yarn start
```
For debugging in watch-mode with additional logs, use —
```bash
yarn debug
```
#### 🧪 Tests & Coverage
```bash
yarn run coverage
```
### 🚀 Postman
Once the API is up, import the [`api.postman_collection.json`](https://raw.githubusercontent.com/paambaati/reading-between-the-lines/master/api.postman_collection.json) file in Postman to test the APIs.