2018-10-10 22:03:03 +00:00
|
|
|
|
---
|
|
|
|
|
id: bd7158d8c443eddfaeb5bdee
|
2020-12-16 07:37:30 +00:00
|
|
|
|
title: 建立一个Pinterest克隆
|
2018-10-10 22:03:03 +00:00
|
|
|
|
challengeType: 4
|
|
|
|
|
videoUrl: ''
|
2021-01-13 02:31:00 +00:00
|
|
|
|
dashedName: build-a-pinterest-clone
|
2018-10-10 22:03:03 +00:00
|
|
|
|
---
|
|
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
|
# --description--
|
2018-10-10 22:03:03 +00:00
|
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
|
**目标:** 构建一个功能类似于此的[Glitch](https://glitch.com)应用程序: [https](https://wild-song.glitch.me/) : [//wild-song.glitch.me](https://wild-song.glitch.me/) 。完成以下[用户故事](https://en.wikipedia.org/wiki/User_story) 。使用您需要的任何库或API。给它你自己的个人风格。 **用户故事:** 作为未经身份验证的用户,我可以使用GitHub登录。 **用户故事:** 作为经过身份验证的用户,我可以链接到图像。 **用户故事:** 作为经过身份验证的用户,我可以删除已链接到的图像。 **用户故事:** 作为一个经过身份验证的用户,我可以看到我所链接的所有图像的Pinterest风格的墙。 **用户故事:** 作为未经身份验证的用户,我可以浏览其他用户的图像墙。 **用户故事:** 作为经过身份验证的用户,如果我上传的图片已损坏,则会被占位符图片替换。 (可以使用jQuery破碎图像检测) **提示:** [Masonry.js](http://masonry.desandro.com/)是一个允许Pinterest风格图像网格的库。完成这些用户故事的实现后,单击“我已完成此挑战”按钮,然后输入GitHub存储库和在Heroku上运行的实时应用程序的URL。您可以通过Facebook上的朋友分享您的项目反馈。
|
2018-10-10 22:03:03 +00:00
|
|
|
|
|
2020-12-16 07:37:30 +00:00
|
|
|
|
# --solutions--
|
2020-08-13 15:24:35 +00:00
|
|
|
|
|
2021-01-13 02:31:00 +00:00
|
|
|
|
```js
|
|
|
|
|
// solution required
|
|
|
|
|
```
|