Make sure PORT is an environment variable.
Using PowerShell:
$env:PORT = "8675"
Bare endpoint will load a super simple website that shows the current TRTL price.
This endpoint returns JSON with the current TRTL -> BTC price on TradeOgre converted to USD using Coinbase's BTC -> USD API.
curl http://localhost:8675/price
This will convert a given TRTL amount to BTC and USD using TradeOgre/Coinbase.
curl http://localhost:8675/convert?trtl=500
Using a favicon generated by Paul Ferrett.