Software Engineer · Teacher · Author · Vegan

Web Sockets

For this lab, you will create a very basic version of Google Docs in your Laravel app.

Start by creating a public route /docs in your Laravel project. On this page, display a simple editor using an editable div through the contenteditable attribute.

Users will be able to type content into this div. As a user types, send the content through the web socket connection so that all connected clients receive it and see the most up to date document.