In order for the application to be compatible with a web version and a desktop version, we need to create an abstraction layer which will handle the required file operations independent from their platform.
This way we can create bindings for operating on the file system when the application is an Electron app, or interface with the API on the web version.

In order for the application to be compatible with a web version and a desktop version, we need to create an abstraction layer which will handle the required file operations independent from their platform.
This way we can create bindings for operating on the file system when the application is an Electron app, or interface with the API on the web version.