Publish a Website
Your users need to be able to access your website.
You can run a web server on your own PC and have the users know your IP to connect to it.
The common solution is though to rent a domain name and a server and upload your website there.
Hiding The Code
Someone with actual web development experience can give you more details and maybe more tricks to hide part of your logic.