Best method for hosting app on local network share


I’m trying to build an app for managing the pipeline in a vfx studio. Something similar to Autodesk Shotgun.

Ideally it would be hosted on a local Windows network drive so that the app could interact with the file system on the local server - it would need to read/write/copy/rename etc. I would also like it to have an online database so that data could be access remotely or shared with clients. So currently i’m using Electron so I can have the same code running as a desktop app and a web app.

However the bit i’m struggling with is accessing the local server’s file system. What’s the best approach here? Would I use something like node’s fs module or will I run into permission errors because the files are located outside the project folder?..