Database integration

Adding the capability to connect databases to Express apps is just a matter of loading an appropriate Node.js driver for the database in your app. This document briefly explains

2016-05-02 16:34:35
Debugging Express

Express uses the debug module internally to log information about route matches, middleware

2016-05-02 16:34:36
Production Best Practices: Security

Overview The term “production” refers to the stage in the software lifecycle when an application or API is generally

2016-05-02 16:34:42
Security updates

Node.js vulnerabilities directly affect Express. Therefore keep

2016-05-02 16:35:04
Error handling

Define error-handling middleware functions in the same way as other middleware functions, except error-handling functions have four arguments instead of three: (err,

2016-05-02 16:34:36
Using template engines with Express

A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template file with actual values

2016-05-02 16:35:05
Process managers for Express apps

When you run Express apps for production, it is helpful to use a process manager to achieve the following tasks: Restart the app

2016-05-02 16:34:41
Express behind proxies

When running an Express app behind a proxy, set (by using app.set()) the application variable trust proxy to one of the values listed in the following table.

2016-05-02 16:34:37
Moving to Express 5

Overview Express 5.0 is still in the alpha release stage, but here is a preview of the changes that will be in the release

2016-05-02 16:34:41
Using middleware

Express is a routing and middleware web framework that has minimal functionality of its own: An Express application is essentially a series of middleware function calls.

2016-05-02 16:35:05