If you publish the project in a subdomain then you do not need hosting. But if you want to have a custom domain name domeniu.ro/com/ .. then you need to purchase a domain name together with a hosting package.