* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
18 lines
1.7 KiB
Markdown
18 lines
1.7 KiB
Markdown
---
|
||
id: bd7158d8c443edefaeb5bdee
|
||
title: 构建图像搜索抽象层
|
||
challengeType: 4
|
||
videoUrl: ''
|
||
dashedName: build-an-image-search-abstraction-layer
|
||
---
|
||
|
||
# --description--
|
||
|
||
**目标:** 构建一个完整的堆栈JavaScript应用程序,允许您搜索如下图像: [https](https://cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats%20funny?offset=10) : [//cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats%20funny?offset = 10](https://cryptic-ridge-9197.herokuapp.com/api/imagesearch/lolcats%20funny?offset=10)并浏览此类最近的搜索查询: [https](https://cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/) : [//cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/](https://cryptic-ridge-9197.herokuapp.com/api/latest/imagesearch/) 。然后将其部署到Glitch。请注意,对于每个项目,您应该创建一个新的GitHub存储库和一个新的Glitch项目。如果您不记得如何执行此操作,请重新访问[https://freecodecamp.org/challenges/get-set-for-our-api-development-projects](/challenges/get-set-for-our-api-development-projects) 。以下是您应该为此项目实现的特定用户故事: **用户故事:** 我可以获取与给定搜索字符串相关的一组图像的图像URL,替代文本和页面URL。 **用户故事:** 我可以通过在URL中添加?offset = 2参数来对响应进行分页。 **用户故事:** 我可以获得最近提交的搜索字符串列表。完成这些用户故事的实现后,单击“我已完成此挑战”按钮,然后输入GitHub存储库和在Glitch上运行的实时应用程序的URL。您可以通过Facebook上的朋友分享您的项目反馈。
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|