Trading Boilerplate for Sanity: Routing and Requests in Express.js
Why we don't write raw Node servers, how Express handles the plumbing, and the anatomy of a route.
Search for a command to run...
Articles tagged with #javascript
Why we don't write raw Node servers, how Express handles the plumbing, and the anatomy of a route.
How to secure your API, understand stateless authentication, and stop building amnesiac servers.
How a single-threaded runtime handles thousands of concurrent tasks without breaking a sweat.
For 15 years, JavaScript was trapped in the browser. Then someone ripped out its engine, gave it server access, and changed web development forever.
Node.js is single-threaded, yet it can handle thousands of concurrent users. Here is how callbacks and Promises make its non-blocking architecture possible.
Promises fixed the callback pyramid of doom, but they left us chaining .then(). Here is how async/await makes asynchronous JavaScript readable again.