Also this might be helpful: https://pete.akeo.ie/2015/01/easily-create-uefi-applications...
and if you choose edk2: https://www.tianocore.org/
There are several pages here under the UEFI tag. There are also some application guides and a few polished bootloader documents.