filebrowser is a nice option: https://github.com/filebrowser/filebrowser I don't think it has as slick of a photo view, but it does make it easy to spin up a server for files with a focus on editing.
Most shared web hosting already runs PHP, but anything newer like Node or Go won't generally work unless you have a more expensive hosting plan or cloud offering.