Top "Express" questions

Express is a minimal and flexible Node.

Global Variable in app.js accessible in routes?

How do i set a variable in app.js and have it be available in all the routes, atleast in …

node.js express
How to use Morgan logger?

I cannot log with Morgan. It doesn't log info to console. The documentation doesn't tell how to use it. I …

node.js logging express
req.query and req.param in ExpressJS

Main differences between req.query and req.param in Express How are Both different from each other When to use …

node.js express
How can I include css files using node, express, and ejs?

I'm trying to follow the instructions to https://stackoverflow.com/a/18633827/2063561, but I still can't get my styles.css to …

css node.js express ejs
NodeJS w/Express Error: Cannot GET /

This is what i have, the filename "default.htm" actually exists and loads when doing a readFile with NodeJS. var …

node.js get express
HTML to PDF with Node.js

I'm looking to create a printable pdf version of my website webpages. Something like express.render() only render the page …

node.js express pdf-generation
How to modify the nodejs request default timeout time?

I'm using a Node/express server. The default timeout of express is 120,000 ms, but it is not enough for me. …

node.js express request timeout
Purpose of installing Twitter Bootstrap through npm?

Question 1: What exactly is the purpose of installing Twitter Bootstrap through npm? I thought npm was meant for server side …

node.js twitter-bootstrap express npm cdn
Express.js - app.listen vs server.listen

This may be a very basic question but I simply don't get it. What is the difference between creating an …

node.js express server
POST request not allowed - 405 Not Allowed - nginx, even with headers included

I have a problem in trying to do a POST request in my application and I searched a lot, but …

node.js express nginx cross-domain nodemailer