yes, you are right @oliworx
its because of wrong model configuration
email field should be like:
email: {
required: true,
email: true,
type: 'string'
}
or
email: {
required: true,
type: 'email'
}
ab -t 10 -c 10 <applicaiton url>
will instruct Apache Benchmark to run for 10 seconds with 10 concurrent requests happening.
I haven't done any configurations other than changing the conents of landing route(/) to:
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World');
req.session.flash(‘oldUsername', req.input.old('username’))
req.input.flash();
all input data is already in flash
req.input.old('username');
username
?
req.input.flash
and req.session.flash
does the same thing
req.input.old('username');
from the view to retrieve it
if errors
…
etc.
BodyParserMiddleware.js
now
cookie-parser
middleware inside
I didn't fix a date yet.
I have following things to complete before v1 release:
nodemon