eggjs Learning Notes Day 35: Simple Logic for Background Login Authentication

1. After getting the user name, password and authentication code in the background: (1) Get the data submitted by the form (2) Determine whether the verification code is correct or not If the verification code is correct: 1. Encrypt the password in the form by MD5 MD5 moduleHttps://www.npmjs.com/package/md5 1,install cnpm install md5 --sav ...

Added by jjoves on Wed, 20 May 2020 20:28:13 +0300

vue+websocket+express+mongodb real-time project (live chat)

Continue to the previous project Use vuejs to imitate NetEasy Cloud music (for listening and searching) Later, I found that the previous project was very confused simply managed with vue's model, and then I went to see vuex, and planned to do a project practice, but did not want to do a duplicate project. This time, I gave up my face and planne ...

Added by Citizen on Fri, 05 Jul 2019 19:54:12 +0300

Node.js uses mongoose to manipulate mongodb

1. Software configuration: 1.node v8.9.3 2. npm 5.5.1 3. For the mongoose and MongoDB versions, see package.json below. // package.json { "name": "mongoosedemo", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "autho ...

Added by chadt on Sat, 18 May 2019 07:37:48 +0300