Retrieve project data cached during project initialization

Catalyst allows you to cache your project data in the backend as an app object during initialization.

The SDK snippet below demonstrates how you can retrieve the cached app object at any time.

    
copy
const catalyst = require('zcatalyst-sdk-node'); catalyst.initialize(req, { scope: "user", appName: 'user_app'}) // initializing the Catalyst with a name for the app and user scope. const app = catalyst.app('user_app'); // retrieve the instance of Catalyst app with the appName.

Last Updated 2023-12-14 16:25:23 +0530 +0530

ON THIS PAGE