Hacker News new | ask | show | jobs
by marrs 3543 days ago
and that's how you can use express.js to run a service that uses a different protocol to HTTP.

Express is one of the easiest libraries to learn in any programming language. It's certainly much easier to learn than Django, at least in part because it doesn't include the kitchen sink

1 comments

> and that's how you can use express.js to run a service that uses a different protocol to HTTP.

Excuses, excuses. Good defaults are important. 99.99% of developers won't care about it.

Getting form data is Web development 101

> Getting form data is Web development 101

Is it? Certainly the latest hipster microservice only deals with JSON bodies.

To which you still need the body-parser module, I don't see your point
Let me try again: you might not be using Express to develop a website.

If you are, install the meta-package, or create one. Now you have your defaults.