TaskApp is application for interview purpose.
Due to almost no complexity I've decided to break app only into Routes and Database adapter modules. Routes module defines API and is loaded into express in entry ts file. DatabaseAdapter is class that encapsulates file database operations and simple business logic.
Run npm install
npm startnpm run build GET /double/{number}| Parameter | Type | Description |
|---|---|---|
number |
number |
Required. |
Doubles the number and returns result.
GET /countIncrements the counter in file db and returns count value.
GET /jokeFetches Joke of the day from external API.