###Objective: Build a full stack JavaScript app that is functionally similar to this: reference case 1 reference case 2 and deploy it to Heroku. ###User story:
- user can get the image URLs, alt text and page urls for a set of images relating to a given search string.
- user can
paginate through the responses by adding a
?offset=2
parameter to the URL. - user can get a list of the most recently submitted search strings.
###Usage example:
- image search results:
input:
https://api-image-search-microservice.herokuapp.com/api/imagesearch/lolcats%20funny?offset=10
output:
[ { "url":"https://i.ytimg.com/vi/tRzXptpC3_U/hqdefault.jpg", "snippet":"funny lolcats and loldogs", "thumbnail":"https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcS_dKvb6pMA0bod00g0v1Bk3YakSY7H4HYwpu268AqUK8pPiSdlUh9pEnYh", "context":"https://www.youtube.com/watch?v=tRzXptpC3_U" }, ... ]
- a list of the most recently submitted search strings:
input:
https://api-image-search-microservice.herokuapp.com/api/latest/imagesearch/
output:
[ { "term":"lolcats funny", "when":"2016-04-08T08:12:08.752Z" }, ... { "term":"lolcats funny", "when":"2016-04-08T06:12:28.546Z" } ]