Top "Express" questions

Express is a minimal and flexible Node.

Basic HTTP authentication with Node and Express 4

It looks like implementing basic HTTP authentication with Express v3 was trivial: app.use(express.basicAuth('username', 'password')); Version 4 (I'm …

node.js http express http-authentication
How to redirect to another page in node.js

I have a login and a signup page. When random user wants to login, and login is successful, I want …

javascript node.js redirect express ejs
Difference between `npm start` & `node app.js`, when starting app?

I have installed an application using the command express new 'filename'. I have just learned that you can start an …

node.js express npm
Difference between app.use and app.get in express.js

I'm kind of new to express and node.js, and I can't figure out the difference between app.use and …

node.js express
How to end a session in ExpressJS

I feel like this has to be buried somewhere in the documentation, but I can't find it. How do you …

session node.js express
nodemon not working: -bash: nodemon: command not found

I'm on a Mac running El Capitan. I have node v5.6.0 and npm v3.6.0. When I try to run nodemon, …

node.js bash express npm nodemon
Node.js - get raw request body using Express

When I use Express, and my code is: app.use(express.bodyParser()); How would I get the raw request body?

node.js express request
How to return a complex JSON response with Node.js?

Using nodejs and express, I'd like to return one or multiple objects (array) using JSON. In the code below I …

json node.js express mongoose
Express.js Response Timeout

PROBLEM I've been looking for request/response timeouts for Express.js but everything seems to be related to the connection …

node.js express timeout response settimeout
How to implement a secure REST API with node.js

I start planning a REST API with node.js ,express and mongodb. The API provides data for a website (public …

node.js rest express passport.js