Mockoon desktop stores each mock API's data in a separate file. These files contain all the information about the environment, routes, and responses. They are stored in a JSON format and can be easily shared with other Mockoon users, used with the CLI, or stored in a git repository.
Each environment file contains information about the environment, routes, and responses. They are stored in a JSON format following a schema and are validated every time you open an environment. This schema is available in the repository.
You can locate the folder in which the API data are stored by right-clicking on each environment and selecting "Show data file in explorer/finder":
You can move the data files to another folder by right-clicking on an environment and selecting "Move data file to folder":
💡 Please note that the environment file will be copied to the new folder, and the original file will not be deleted. If you want to delete the original file, you will have to do it manually.
Mockoon can monitor data files' external changes and automatically reload the interface with the new information. This is particularly useful when you are editing the data files with an external editor or pulling changes from a git repository. You can activate this option in the settings:
If you are a Mockoon Cloud user, you can also create cloud environments that are stored in the cloud and synchronized across all your devices. It also allows you to collaborate in real-time with your team members. You can learn more about this feature in the dedicated documentation.