My personal web blog
- npm run test (run scripts defined in package.json)
- run test configuration in WebStorm (cannot use babel-core/register, do not know why)
- unique field in mongodb : restart mongod (unstable? do not know why...)
- promise/ async await
- Marked A markdown parser and compiler. Built for speed.
- Mongoose type Types reference in mongoose.
- CommonJS vs ES6: (module.exports,exports,require) vs (export,export default,import)
- Using ES6 in Express: Tutorial (
npm install --save-dev babel-cli) - MapReduce on mongoose. Implement
map``reducefunctions. See tutorial1 tutorial2 - Mongoose operation
- If you think the router is not updated, restart the server !db
- The cross-domain cookie cannot be set. See 1 See 2
- How to create session in mongodb tutor
- How to use html files instead of 'jade' in Node.js express some discussion
- how to output log on the server side.
- establish mongodb on the server.
- install node on the server.
- deploy html on the node.
yum install -y,-ymeans choose 'yes' all the time.- Yum install mongodb How to install mongodb in RedHat.
- use
ctrl-A + ctrl-Dto exit thescreenin linux.