Small currency scrapper RESTful API built on top of node, scrapping Egyptian banks to obtain current currency rates.
- Node v4.3.2 or higher installed.
- docker installed.
- Clone repository locally
- From directory run
docker build -t currency-scrapper . - From directory run
docker run -p {PORT}:8080 -t currency-scrapper
- All rates ordered by banks: http://localhost:{PORT}/api/banks
- All rates for specific bank: http://localhost:{PORT}/api/banks/BANQUE-DU-CAIRE
- All rates ordered by currencies: http://localhost:{PORT}/api/currencies
- All rates for specific currency: http://localhost:{PORT}/api/currencies/USD
node --inspect --debug-brk app.js