47 lines
1.7 KiB
Markdown
47 lines
1.7 KiB
Markdown
---
|
|
id: bd7158d8c443edefaeb5bdee
|
|
title: Build an Image Search Abstraction Layer
|
|
challengeType: 4
|
|
forumTopicId: 302361
|
|
---
|
|
|
|
## Description
|
|
<section id='description'>
|
|
<strong>Objective:</strong> Build a full stack JavaScript app on <a href='https://repl.it/' target='_blank'>Repl.it</a> that allows you to search for images like this: <a href='https://cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats%20funny?offset=10' target='_blank'>https://cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats%20funny?offset=10</a> and browse recent search queries like this: <a href='https://cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/' target='_blank'>https://cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/</a>.
|
|
Here are the specific user stories you should implement for this project:
|
|
<strong>User Story:</strong> I can get the image URLs, alt text and page URLs for a set of images relating to a given search string.
|
|
<strong>User Story:</strong> I can paginate through the responses by adding a ?offset=2 parameter to the URL.
|
|
<strong>User Story:</strong> I can get a list of the most recently submitted search strings.
|
|
Once you've finished implementing these user stories, enter the URL to your live app and, optionally, your GitHub repository. Then click the "I've completed this challenge" button.
|
|
You can get feedback on your project by sharing it on the <a href='https://forum.freecodecamp.org/c/project-feedback/409' target='_blank'>freeCodeCamp forum</a>.
|
|
</section>
|
|
|
|
## Instructions
|
|
<section id='instructions'>
|
|
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
tests: []
|
|
|
|
```
|
|
|
|
</section>
|
|
|
|
## Challenge Seed
|
|
<section id='challengeSeed'>
|
|
|
|
</section>
|
|
|
|
## Solution
|
|
<section id='solution'>
|
|
|
|
```js
|
|
// solution required
|
|
```
|
|
|
|
</section>
|