3 ms·
I’m still confused. Webpack is a frontend build tool and completely unnecessary for writing a web service. Also, from the Dropwizard tutorial: 1) configure Ma
by ricardobeat 9y ago
I’m still confused. Webpack is a frontend build tool and completely unnecessary for writing a web service.
Also, from the Dropwizard tutorial:
1) configure Maven
2) create a config class
3) write a mapping.yaml for “Jackson”
4) create an application class
5) create a representation class
6) create a resource class
7) register the resource
8) configure maven again (!) for building a .jar
9) finally run it.
With node you literally write 5 lines of code importing the http module and run `node server.js`. I can’t possibly imagine what steps could be more complicated than Dropwizard. I consider webpack overly complex myself, but it’s a completely self-inflicted option and not a standard for nodejs development at all. I’d be curious to know what docs you were trying to follow if you can recall.