Basic interface for populating images from ebay-today
Project has only one api:
/collections/{id}
,id
- limited unique number, e.g starts from 1. Above api creates get request tohttp://www.ebay.co.uk/today
and populates images. Ids for the images are based on the images order on the page.
Technology stack:
- Hapi.js http://hapijs.com/
- Handlebars https://www.npmjs.com/package/handlebars
- Request https://www.npmjs.com/package/request
- Cheerio https://www.npmjs.com/package/cheerio
- Heroku cloud https://www.heroku.com/
- testing & coverage:
- tape https://github.com/substack/tape
- istanbul https://github.com/gotwarlost/istanbul
- travis https://travis-ci.org/
- codecov https://codecov.io
- testing & coverage:
- clone this repo
npm install
npm start
- go to http://localhost:3000/collections/1npm test
- to run tests