Process data/persistence in renderer or main process?


#1

Up until now I used Electron only to create command line applications which had an optional GUI. Therefore I did all the processing in the main process.

Now I want to create a small music manager (for local files) and store a database using NeDB locally.
I’m wondering architecture-wise whether I’m still meant to do lookups in the filesystem, database operations and other processing tasks like renaming files, writing tags directly in the renderer or main process?

I could find any guide about it.