Skip to content

Proof Of Concept: Store quizzes in Markdown files #157

Description

@pfwd

Build a proof of concept that replaces the PHP fixture files as Markdown files.

The following tasks are subject to change

Markdown work:

  • Create a /quizzes folder
  • Create a /quizzes/<quiz_name> folder
  • Create a markdown file per question in /quizzes/<quiz_name>/1.md
  • Include the following as frontmatter
    • Question number
  • Add the possible answers as markdown check boxes
  • Add the question as a markdown paragraph
  • Add the answer as detail summary HTML elements

PHP work:

  • Install parsedown
  • Create a Symfony command that reads the markdown files in the /quizzes/<quiz_name> and adds them to the database
  • Create a Symfony command that refreshes the database
  • Remove fixture files
  • Remove Doctrine fixtures bundle

General work:

  • Update documendation
  • Update github workflow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiAnything to do with the APIapi clientAny thing to do with the API ClientdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions