Courses / Build a Real‑Time Live Chat Widget with WebSockets
Lesson 8 of 9

Deploying with Netlify Functions (Serverless WebSocket)

8
▶

Video by Fireship on YouTube · 4 min. We did not make this video and we do not host it — watching it here still counts as a view for the creator.

The video demonstrates creating a Netlify Function that runs a lightweight ws server and exposing it via a public URL. Beginners often forget to set the function’s runtime to Node.js 18, leading to syntax errors.

After deployment, update the client code to point to the Netlify Function URL. Verify that the widget still works from the live site – this shows you can host real‑time services on a free static platform.

Start learning free

Sign in with your email, Google or GitHub. No password to remember. The same account carries your progress, your certificates and anything else you do with Nexgino later.

Sign in to continue

It takes about fifteen seconds.