Small currency scrapper RESTfull API built on top of node, scrapping Egyptian banks to obtain current currency rates.
- Node v4.3.2 or higher installed
- Clone repository locally
- Install Gulp npm package globally
npm install -g gulp
- Install PhantomJs npm package globally
npm install -g phantomjs-prebuilt
- Navigate to directory and run
npm install
- From directory run
gulp
- All rates ordered by banks: http://localhost:8000/api/banks
- All rates for specific bank: http://localhost:8000/api/banks/BANQUE-DU-CAIRE
- All rates ordered by currencies: http://localhost:8000/api/currencies
- All rates for specific currency: http://localhost:8000/api/currencies/USD
node --inspect --debug-brk app.js