Deploy the Node.js environment on the ECS instance

Introduction:   This article mainly introduces how to install Node.js and deploy the project on an ECS instance with CentOS 7.2 system installed. For image download, domain name resolution and time synchronization, please click   Alibaba open source mirror station 1, Preconditions PuTTY is installed on the machine used to connec ...

Posted by davidklonski on Fri, 03 Dec 2021 17:08:22 -0800

Modularization related specifications

Modularization related specifications Modular overview Modularization is to encapsulate a single function into a module (file). Modules are isolated from each other, but internal members can be exposed through specific interfaces or rely on other modulesBenefits of modular development: facilitate code reuse, improve development efficien ...

Posted by JJ2K on Fri, 03 Dec 2021 04:26:53 -0800

Setting the Nginx server configuration block on CentOS 8

Introduction:   A server configuration block is an Nginx instruction, which defines the settings for a specified domain name and allows you to run multiple websites on a single server. For each website, you can set the root directory of website files (the directory containing website files), create an independent security policy, use diffe ...

Posted by greepit on Mon, 29 Nov 2021 08:22:59 -0800

H5 pit location guide for mixed development

HTML direction Call system functions Use < a > to quickly call the mobile device's three communication functions of phone / SMS / email, and use < input > to quickly call the mobile device's Library / file. These functions facilitate the interaction between the page and the system. The key is that the call format must be accurate ...

Posted by laPistola on Fri, 26 Nov 2021 19:53:09 -0800

[AutoTinyPng] compress the picture from the programmer's point of view

Dear, Hello, I'm "front-end Xiaoxin", 😇 He has been engaged in front-end development and Android development for a long time, is keen on technology, and goes farther and farther on the road of programmingpreface:It's strange to say that there are some "pseudo programmers" in many technical communication groups. For example, ...

Posted by keeps21 on Fri, 26 Nov 2021 19:08:35 -0800

PM2 one click, multiple servers deploy and publish Node.js project at the same time!

1, Usage scenarioWhen deploying and publishing the node.js project, SSH is often used to connect multiple servers respectively. For each server, the latest git pull code should be executed to compile and start the application. The operation is trivial and easy to forget some of them. pm2 can solve this problem. It can be completed automatically ...

Posted by sandthipe on Thu, 25 Nov 2021 19:58:41 -0800

nodejs -- modularization, module scope, several methods of exporting data, package, package management, custom package, module loading mechanism

1, First knowledge modularization Modularization is the process of dividing the system into several modules from top to bottom when solving a complex problem. For the whole system, modularization is a unit that can be combined, disassembled and replaced. Modularization in the field of programming is to abide by the inherent rules and divi ...

Posted by NiGHTFiRE on Wed, 24 Nov 2021 01:51:08 -0800

Large file upload (including node code)

Why use large file upload?In the project, there is a need to upload large files. In the same request, a large amount of data needs to be uploaded, resulting in a long time for the interface request, which may lead to the consequence of interface timeout. In addition, if there are network exceptions during the upload process, the re upload is st ...

Posted by ident on Mon, 22 Nov 2021 13:18:50 -0800

Node.js realizes front and rear end exchange - user login

I recently learned a little about the back-end of Node.js, so as a student of the front-end direction, I began to understand the back-end. I didn't say much and began to introduce it. First of all, if you want to better understand this blog, you need to have a basic knowledge of html, css, javascript and Node.js, as well as a little knowledge o ...

Posted by rlalande on Sun, 21 Nov 2021 21:24:37 -0800

Learning Notes - Node's complement to require

Daily learning notes, including ES6, Promise, Node.js, Webpack, http principles, Vue family bucket, and updates to Typescript, Vue3 and common interview questions may follow. Looking at the previous article, we already know a little about the basic use of require and how it works. By learning the source code, we also have the following proble ...

Posted by rv20 on Sun, 21 Nov 2021 10:56:10 -0800