This is an example custom Drupal 9 module that includes a page that renders "Hello World". It should also comply with Drupal 9 coding standards using PHP CodeSniffer.
To see it in action, git clone
and enable the module in your Drupal 9 site and visit /hello
.