3
Questions from a new developer on Node and ExpressJS
(programming.dev)
Someone already mentioned it, but serving static files is possible
It is unsafe, but everyone is doing it regardless.
And won't changes in those projects break my project eventually?
A new version of a dependency could be incompatible, but you shouldn't update your dependencies (expect vulnerabilities or important features, ...)
Express does handle static files.
https://expressjs.com/en/starter/static-files.html
I’ve never done it in nodejs specifically but years ago I did parse a multipart encoded form in perl. So as long as you can get the underlying raw data and parse it sure. But, unless you want to do it for the fun of it there’s a lot of value both in performance and security/edgecase handling to letting a library do it.