step1-l1-1-structure

(2/24)

To create a database, start by creating a folder (like db-folder, but you can name it as you wish) and put two things in it :

  1. a main README.md
  2. a database folder containing at least one question on one topic for one difficulty level

For instance like this :

- db-folder
    - database
        - t01
            - l1
                - question.md
    - README.md

Here t01 is the topic folder, and l1 is the level folder (and you can guess, for level 1 questions ... 😮). You can name your topic folder as you want, but choose wisely as it will be used to build the website.

⚠️ Don't use those names for topic folders (already taken by the API):

  • question
  • test
  • series
  • images
  • qrcode
  • stats

📜 It's recommended to use short names for topic folders and a numbering system allowing to sort them chronologically (for instance, v01 for Vorlesung 1).

???