Files
freeCodeCamp/curriculum/challenges/chinese/06-quality-assurance/quality-assurance-projects/issue-tracker.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.5 KiB
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
587d8249367417b2b2512c42 问题跟踪器 4 issue-tracker

--description--

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

--hints--

防止跨站点脚本XSS攻击。


我可以使用包含所需issue_titleissue_textcreated_by和可选的assigned_to和status_text的表单数据POST / api / issues / {projectname}。


保存和返回的对象将包括所有这些字段空白表示可选无输入还包括created_on日期/时间updated_on日期/时间打开布尔值true表示打开false表示关闭和_id。


我可以使用id和对象中的任何字段PUT / api / issues / {projectname},并使用值来对象表示对象。返回将“成功更新”或“无法更新”+ id。这应该始终更新updated_on。如果没有发送字段则返回“未发送更新字段”。


我可以使用id DELETE / api / issues / {projectname}来完全删除问题。如果没有发送_id则返回“id error”成功“删除”+ id失败“无法删除”+ id。


我可以GET / api / issues / {projectname}获取该特定项目中所有问题的数组,其中包含发布时返回的每个问题的所有信息。


我可以通过传递查询中的任何字段和值来过滤我的获取请求(即。/ api / issues / {project}open = false。我可以传递尽可能多的字段/值。


所有11项功能测试都已完成并通过。


--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.
*/