Basic creation of a content type in Drupal 8. Content type is created in code in a custom module called dribbit_create_content_type.
As seen on the left, an install directory located in the config directory is needed to store the content types yaml file. Human readable data is used to preconfigure the content types settings.