* 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>
3.3 KiB
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
587d824a367417b2b2512c45 | 匿名留言板 | 4 | anonymous-message-board |
--description--
构建一个功能类似于此的完整堆栈JavaScript应用程序: https://spiky-well-vein.glitch.me/ 。在这个项目上工作将涉及您在我们的入门项目上在Glitch上编写代码。完成此项目后,您可以将公共故障网址(到应用程序的主页)复制到此屏幕进行测试!您可以选择在另一个平台上编写项目,但必须公开显示我们的测试。使用此链接在Glitch上启动此项目或在GitHub上克隆此存储库 !如果您使用Glitch,请记住将项目链接保存到安全的地方!
--hints--
只允许您的网站加载到您自己网页上的iFrame中。
不允许DNS预取。
只允许您的网站为您自己的网页发送引荐来源。
我可以通过将表单数据文本和deletepassword传递给/api/threads/ {board}将一个帖子发布到一个特定的留言板。(推荐res.redirect到电路板页面/ b / {board})保存的至少是_id,text ,createdon(日期和时间),bumpedon*(日期和时间,与created_on相同),报告(布尔值),deletepassword*和回复(数组)。
我可以通过将表单数据文本,deletepassword和threadid传递给/ api / replies / {board}来对特定板上的线程发送回复,并且还会将bumpedon日期更新到注释日期。(推荐res.redirect到thread page / b / {board} / {thread_id})在线程的回复数组中将保存_id,text,createdon,deletepassword_,并报告。
我可以在电路板上获取最近10个凸起线程的数组,其中最近只有来自/ api / threads / {board}的3个回复。 report和deletepasswords_字段不会发送到客户端。
我可以使用/ api / replies / {board}的所有回复获取整个帖子吗?thread_id = {thread_id}。同样隐藏客户端应该看到的相同字段。
如果我向/ api / threads / {board}发送DELETE请求并传递threadid*&deletepassword*,我可以完全删除一个线程。 (文字回复将是“密码不正确”或“成功”)
如果我向/ api / replies / {board}发送DELETE请求并传递threadid*,replyid*和deletepassword_,我可以删除帖子(只是将文本更改为“[已删除]”而不是像线程一样完全删除)。 (文字回复将是“密码不正确”或“成功”)
我可以通过向/ api / threads / {board}发送PUT请求并传递threadid_来报告一个线程并将其报告值更改为true。 (文字回复将是“成功”)
我可以通过向/ api / replies / {board}发送PUT请求并传递threadid*&replyid*来报告回复并将其报告值更改为true。 (文字回复将是“成功”)
完整的功能测试,完全测试路线和通过。
--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.
*/