Use the Sitecore XMC Head Foundation repository
Use the startup project repository from Sitecore for your projects: https://github.com/sitecorelabs/xmcloud-foundation-head. The cosde structure lays out some recommended architectural practices and provides examples of implemetations that may help reduce development time.