Another exciting feature of the Nucleus service I would like to talk about is Custom JSON payload. You can find it in the Other section of your Nucleus account:
From here, you can create a JSON document on the server side that each of your Electron application instances can fetch upon startup and use for configuration or business logic purposes.
Imagine, for instance, having global settings that you would like to be able to change over time, or even API keys. There's a great variety of scenarios where your applications can benefit from having access to dynamically changing data.
Let's try to create a simple configuration document and deliver it to the client instance:
- Navigate to the Other section in your Nucleus web account and fill in the following JSON content:
{
"message": "hello, world"
}
- Click the Save button...