This is a simple example of a backend for tldraw sync with a Node server.
Run yarn dev in this folder to start the server + client.
Room data is automatically persisted to SQLite databases in the .rooms directory using SQLiteSyncStorage.
For a production-ready example specific to Cloudflare, see /templates/sync-cloudflare.
This project is provided under the MIT license found here. The tldraw SDK is provided under the tldraw license.
Copyright (c) 2024-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.
You can find tldraw on npm here.
Please see our contributing guide. Found a bug? Please submit an issue.
Have questions, comments or feedback? Join our discord. For the latest news and release notes, visit tldraw.dev.
Find us on Twitter/X at @tldraw.