First taste of node.js + Express + MongoDB + Vue.js project construction (2)
Preface
After the last article Construction of Economic Foundation Complete, then start coding now!
Project framework
Start HTTP Services
Firstly, the / server/app.js file is established. First, the module needed for service is introduced. The following two methods are introduced to start HTTP service.
Using Node.js intrinsic module http
var ...
Posted by guarriman on Sun, 06 Jan 2019 09:12:10 -0800
Debian 8.x/Ubuntu 16.04.x Build Ghost Tutorial
Label of this article: LEMP/LNMP Course Ubuntu Debian Ghost Debian8.x/Ubuntu16.04.x Build Ghost
Ghost It's a use Node.js Developed blog system, as opposed to using PHP WordPress It's lighter and more friendly, so this site has been switched from WordPress to Ghost In this paper, the author introduces the following points: Debian Building Gho ...
Posted by praveenhotha on Mon, 31 Dec 2018 18:21:08 -0800
Node.js Domestic MVC Framework ThinkJS Development Configuration
Original: Jingxiu Web page instantly pushes https://xxuyou.com Reprinted please indicate the source
Links: https://blog.xxuyou.com/nodejs-thinkjs-study-config/
This series of tutorials is in the version of ThinkJS v2.x. Official website (For example, the course is mainly about practical operation.
Define configuration files by module
thinkj ...
Posted by paulareno on Thu, 27 Dec 2018 18:36:06 -0800
Node.js Domestic MVC Framework ThinkJS Development controller (continued)
Original: Jingxiu Web page instantly pushes https://xxuyou.com Reprinted please indicate the source
Links: https://blog.xxuyou.com/nodejs-thinkjs-study-controller-2/
This series of tutorials is in the version of ThinkJS v2.x. Official website (For example, the course is mainly about practical operation.
This article continues to explain the ...
Posted by lesolemph on Mon, 24 Dec 2018 14:24:06 -0800
nodeJS - 8 - process process process child_process subprocess
Process process and child_process subprocesses
Reference resources
Node.js document
JavaScript Standard Reference Tutorial Node.js
1. Process process process
Explain
The process object is a global object of Node, which provides information about the current Node process. It can be used anywhere in the script without requiring the ...
Posted by LucidParody on Fri, 21 Dec 2018 21:09:05 -0800
Single page WEB application (7), Socket.IO of WebServer Node.js
I learned the Express framework before, and I got a general idea about it. Based on node.js server, I built a simple one. I finished all kinds of middleware use and routing functions. Then I got to communicate with you, including monitoring the changes of files or data, and monitoring and processing of events. Then I used Socket.io. I just tou ...
Posted by Caesar on Mon, 17 Dec 2018 15:03:04 -0800
Install redis in centos7 and operate redis through node.js
Introduction
Recently, I learned how to connect redis to node.js, so I tried to install cent OS7 in the virtual machine, install redis, and use node.js to operate redis. So take a note by the way.
If there are any mistakes, please correct them.
1. Using redis under cent OS7
1.1. Configure the compilation environment:
sudo yum install gcc-c++ ...
Posted by Deemo on Sat, 15 Dec 2018 15:12:03 -0800
Node.js+jade crawls all blog articles to generate static html files
This weekend, I patched the jade template engine to generate static html files. This article needs to know about jade and read my last article. First, I give their reference links:
Node.js Template Engine Tutorial-jade Speed and Actual Warfare 1-Basic Usage
Node.js Template Engine Tutorial-jade Speed and Actual Warfare 2-Process Control, Esca ...
Posted by dbradbury on Thu, 13 Dec 2018 02:27:07 -0800
Node.js+jade+mongodb+mongoose realizes the separation of crawlers into libraries and the generation of static files
Next, this article. Node.js+jade crawls all blog articles to generate static html files Continue, in this article to achieve the acquisition and static file generation, in the actual acquisition project, should be first put into storage and then selectively generate static files.
So the database I choose is mongodb, why use this database, beca ...
Posted by GundamSV7 on Mon, 10 Dec 2018 01:48:05 -0800