Template for an api server on node JS.
yarn
yarn build
yarn test
curl \
--header "Content-Type: application/json" \
--request POST \
--data '{"name":"c1","value":12}' \
http://localhost:9980/api/v1/counter
{"name":"c1","value":12}
curl http://localhost:9980/api/v1/counter?name=c1
{"name":"c1","value":12}
curl http://localhost:9980/api/v1/counter?name=c0
{"name":"c0","value":0}