Can I make jsReport lighter by removing the studio part?
-
Is there a way that we only run the jsReport server and not the studio?
I don't really need the studio and want to use the API endpoints that are exposed. I am assuming this will reduce the size and memory usage considerably?
-
Yes, see the docs here:
https://jsreport.net/learn/configuration#disabling-extensionsYou can disable an extension by setting enabled: false in the configuration of a particular extension. You can, for example, disable jsreport studio, scheduling, and authentication using this config.
{ "extensions": { "authentication": { "enabled": false }, "studio": { "enabled": false }, "scheduling": { "enabled": false } } }
-
Thank you so much for answering this even though it was in the documentation!