Skip to content
#

Express

express logo

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

Here are 22,307 public repositories matching this topic...

goldbergyoni
goldbergyoni commented Jan 26, 2020

Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.

You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.

At first, we want to collect ideas for best practices, solidify a list

rafamontoya
rafamontoya commented Dec 16, 2018

On Windows10 machine, following README installation instructions:

c:\code\mean>npm start

mean@2.0.2 start c:\code\mean
concurrently -c "yellow.bold,green.bold" -n "SERVER,BUILD" "nodemon server" "ng build --watch"

[SERVER] [nodemon] 1.18.9
[SERVER] [nodemon] to restart at any time, enter rs
[SERVER] [nodemon] watching: .
[SERVER] [nodemon] starting node server
[SERVER] ../.

paglias
paglias commented Apr 26, 2020

Similar to #12119

When a string is updated in the English source files they should be reset to the english version in all other languages since the meaning might have changed and the translation be outdated.

We might have to change a setting in Weblate or update the script that updates the translation files here.

caritasverein
caritasverein commented Jan 3, 2020

The example code does not work as intended.

Steps to reproduce

Use the example code:

var express = require('express');
var proxy = require('http-proxy-middleware');

var app = express();

app.use(
  '/api',
  proxy({ target: 'http://www.example.org', changeOrigin: true })
);
app.listen(3000);

Expected behavior

This should create a proxy for /api to `http

juanda99
juanda99 commented Sep 30, 2016

It would be better to use bcrypt, beause its more secure as it's slower (uses more computing cycles).
Your code could also be better:

You wouldn't need salt field in User model, because it's saved into the same field as password does.

For authentication, something like:

var mongoose = require('mongoose'),
  bcrypt = require('bcryptjs');

var userSchema = mongoose.Schema({
  email: String,
express-validator
ChristofferSkog21st
ChristofferSkog21st commented Mar 9, 2019

The features section in the docs states that nodemon is available in the project, when it's clearly not. It's not added as a dependency or as a command in the project. Maybe remove this from the docs or actually add nodemon?

Created by TJ Holowaychuk

Released November 16, 2010

Organization
expressjs
Website
expressjs.com
Wikipedia
Wikipedia
You can’t perform that action at this time.