Files
freeCodeCamp/curriculum/challenges/chinese/06-quality-assurance/quality-assurance-projects/personal-library.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

2.3 KiB
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
587d824a367417b2b2512c43 个人图书馆 4 personal-library

--description--

构建一个功能类似于此的完整堆栈JavaScript应用程序 https //spark-cathedral.glitch.me/ 。在这个项目上工作将涉及您在我们的入门项目上在Glitch上编写代码。完成此项目后您可以将公共故障网址到应用程序的主页复制到此屏幕进行测试您可以选择在另一个平台上编写项目但必须公开显示我们的测试。使用此链接在Glitch上启动此项目或在GitHub上克隆此存储库 如果您使用Glitch请记住将项目链接保存到安全的地方

--hints--

我的网站上的任何内容都不会缓存在我的客户端中。


标题会说该网站由'PHP 4.2.0'提供支持,即使它不是(作为安全措施)。


我可以将标题发布到/ api / books以添加书籍并返回将是具有标题和唯一_id的对象。


我可以获取/ api / books来检索包含title_id和commentcount的所有书籍的数组。


我可以使用/ api / books / {id}来检索包含_title_id和注释数组的书的单个对象如果没有注释则为空数组


我可以在/ api / books / {id}上发表评论为书籍添加评论并返回类似于get / api / books / {id}的书籍对象,包括新评论。


我可以删除/ api / books / {_ id}从集合中删除一本书。如果成功,返回将“删除成功”。


如果我试图要求一本不存在的书,我将被退回'没有书存在'。


我可以向/ api / books发送删除请求以删除数据库中的所有书籍。如果成功返回将是“完全删除成功”。


所有6项功能测试都是完整的并且通过。


--solutions--

/**
  Backend challenges don't need solutions, 
  because they would need to be tested against a full working project. 
  Please check our contributing guidelines to learn more.
*/