Mainly learn to write interface with node
MySQL database has been installed, and then import the migou.sql file
Then npm
install the local service third-party dependency module ( Node.js needs to be installed )
cd vue-jd
npm install
npm run dev
Finally open the background service
node server.js
.
├── README.md
├── libs // Encapsulation of common tool modules in the background, such as formatting events, MD5 encryption, etc.
├── route // compilation directory of background interface
├── server.js // configuration file of background service
├── webpack.config.js // webpack configuration file
├── index.html // project entry file
├── package.json // project configuration file
├── src // production directory
│ ├── assets // css js and image resources
│ ├── components // Various Vue components
│ ├── store // vuex state manager
│ ├── App.vue // Global Vue in the project
│ ├── main.js // Webpack pre-compiled entry
│ └── router.config.js // vue routing configuration file
Author: qi0126
Source Code: https://github.com/qi0126/node-JD
#node #nodejs #javascript