[Sample-Platform] Implement option to add new category.
Introduction
CCExtractor is a tool to extract subtitles/closed captions from video streams. In order to verify that changes to the code don't break previous samples with issues, we created a test suite. To run this whenever a pull request on GitHub is opened, or when a commit is made, we created the Sample Platform (often abbreviated as SP), which is a website where users can submit faulty samples, and which kicks off the test suite on different platforms.
The task
The sample platform lacks CRUD operations for regression test categories. The goal of this task is to create functionality to add (C in CRUD) new categories and store them in the database. Errors should be handled in a correct way.
Requirements to complete this task
We expect an opened pull request, which contains the modification requested above, unit tests that cover (most of) the changes, and documentation where necessary.