npm i && npm start
npm test
curl --location --request POST 'http://localhost:8080/getFee' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{jwtToken}}' \
--header 'User-Agent: {{userAgent}}' \
--header 'X-Currency: SGD' \
--data-raw '{
"type": "DIRECT_DEBIT_PAYMENT",
"count": 988,
"volume": 250000,
"channel": "BPO",
"currency": "PHP",
"country_of_service": "PHILIPPINES",
"amount": 1200
}'
{
"totalFee": "143.55 PHP"
}
make build
make run-dev
make destroy
# default: 10000 request, 100 concurrently
sh ab.sh