Save Fabric.js Canvas JSON to an API and Open It by Document ID
To save a Fabric.js canvas to a database, send its editable JSON through an API and retrieve that JSON when the user opens the document. With fabricjs-document-engine on npm, a storage adapter connect