One of the things we've run into as we've worked with customers and developed our own examples at
Cosmonic is the need to serve UIs that are consuming services you are running inside of wasmCloud.
Our own examples required you to either run the UI using npm
or to run a docker image. This felt
less than ideal and didn't fit with our vision of WebAssembly being the future of distributed
computing.
We just released a new version of the petclinic example that demonstrates how you can bundle up a UI for your application into a single actor. Now when you start the full petclinic example, the API and UI are served from the same place