Skip to content

reza-ebrahimi/crypto_broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Broker

Install

$ git clone https://github.com/reza-ebrahimi/crypto_broker.git
$ cd crypto_broker
$ npm install --save

Run

$ npm run start

API Call Test

$ curl -H "Content-Type: application/json; charset=UTF-8" \
    -i -X POST \
    --data '{"action": "buy", "base_currency": "BTC","quote_currency": "TRYB", "amount": "2.0"}' \
    http:https://localhost:3000/quote