It’s likely you will want to write a GUI for your future applications, so it’s helpful to see how to connect a front end to your back end zome. This is not the only way to write a GUI for a Holochain app, but it should be familiar if you’re used to web front ends.

It’s time to communicate with the app you built in the previous tutorials. To make this easy, you can use the hc-web-client. It’s Holochain’s JavaScript library that helps you easily set up a WebSocket connection to your app.

This is the GUI setup.
It points to the root folder of your GUI.
Mine is up one level (../) and in a folder called gui.
You might need to edit this to match where you GUI lives (where the index.html is).