Miscellaneous collection of small exercises, katas, snippets... in different languages
Inside the directory run in a terminal npm install
and then npm run compile
. Server runs in http://localhost:3000/v1
The service responses /GET requests to the given endpoint, so:
/GET localhost:3000/v1/
/GET localhost:3000/v1/?date=12-12-2019
(This example queries the price that BTC had the 12th of December on 2019)
/GET localhost:3000/v1/?date=06-01-2020
/GET localhost:3000/v1/?date=01-12-2005
(BTC was not even created that date)/GET localhost:3000/v1/?date=01-12-2035
( This is quering a date in the future, that functionality is not available yet :) )