This section explain how to manage configurations in Nedoto.com.
The first time you use Nedoto, you won't have any configuration.
To create a new configuration, click on the purple "New configuration" button at the top right.
In the configuration creation form, fill in the mandatory fields identified by a red asterisk and press the button "Create," or "Create & create another" to create multiple configurations without leaving the form.
💡 configuration slug
The configuration slug is automatically generated starting from the configuration name and must be unique inside the same environment, otherwise you will receive an error.
💡 Configuration types
At the moment we support these configuration types:
- string
- integer
- float
- boolean
- code (json, javascript, php, etc.)
- html
If the configuration creation is successful, you will be redirected to the environments list with the "Created" notification.
To edit a configuration, click on the pencil icon next to the configuration name, and you will be redirected to the editing page.
To delete a configuration, click on the red trash can icon. A notification will prompt you to confirm. By pressing the red button, the configuration will be deleted.
A configuration can be created and modified multiple times. Sometimes errors can occur in this process, so in Nedoto, we've added a feature called "History" that allows you to view a log of changes and restore them with a single click.
To view the history of changes to a configuration, click on the highlighted button in the image below:
Here's how the history screen of a configuration looks.
As you can see on the left, old values are listed, and on the right, you'll find the newly set values.
By clicking the "Restore" button, you can revert to the old values shown on the left:
Often, when you define a configuration in the development or staging environment, you need to copy it, for example, to the production environment.
This is just an example of how the "Copy to another environment" feature works.
This way, you don't need to manually create a new configuration; instead, you can simply copy it with a click.
Click on the highlighted button:
A modal will appear, prompting you to select the environment to which you want to copy the configuration:
A configuration can be retrieved with a simple API call, but sometimes you may need to push in real-time the value of your configurations without the need for a deployment.
Some examples include:
To push the value of your configurations in real-time, click on the highlighted button:
A modal will appear, and by clicking the "Submit" green button, you will send the value of this configuration to all your connected clients in real-time:
You have to implement the client-side logic to receive the real-time pushed value or use one of Nedoto SDKs.
Powered by Doctave