resgateio / resgate

A Realtime API Gateway used with NATS to build REST, real time, and RPC APIs, where all your clients are synchronized seamlessly.
https://resgate.io
MIT License
690 stars 67 forks source link

Examples not rendering #227

Open timkleier opened 2 years ago

timkleier commented 2 years ago

Really excited about this project and am trying out the examples. Nothing is rendering--so the "hello world" example is just a blank white page. Seems to be the same issue with each of them--the JS Promise is forever pending.

I have NATS running (4222), as well as Resgate (8080), and I can get the model with REST (http://localhost:8080/api/example/model), but the websocket-based ResClient doesn't seem to be working for me.

No errors in the developer console and the Network tab looks like this... image

I'm hoping it's something small, as my JS skills are a little rusty and I don't have much experience with the WebSocket protocol. Any insights?