How to modify Storage from the server

In realtime applications, Storage is generally modified from the browser with useMutation or through conflict-free data methods. However, it can also be useful to modify your realtime storage from server-side Node.js too.

What we’re doing

Make sure you’re on the latest version

This guide assumes you’re using the latest version of @liveblocks/node.

In this guide, we’ll demonstrate how to easily modify storage from the server. We’ll do this using @liveblocks/node.

Start modifying storage

We can now start modifying storage from the server!

route.ts