koa-body, nodejs koa middleware file upload, build file service

Preface koa as the solution of node service, koa-body As the middleware of koa, it is friendly to upload files and POST JSON, set the size of json and upload files. koa-static provides service static file access demand Upload picture interface, save the file directory "Year/Month/SDK_20190904153509.png" according to the current date, ...

Posted by Cronje on Tue, 01 Oct 2019 03:41:21 +0200

Introduction to TypeScript

Advantages of TypeScript Enhanced code maintainability and readability It's very inclusive. Disadvantages of TypeScript Learning cost development cost TypeScript installation Command Line Installation of TypeScript npm install -g typescript The above command will install tsc command in the ...

Posted by perrohunter on Thu, 19 Sep 2019 09:08:36 +0200

Developing the Right Posture for Function Computing - Converting Word to PDF with LibreOffice

Preface Firstly, several important concepts emerged in this paper are introduced. Function Compute: Function Compute is an event-driven service. Through function computing, users do not need to manage the operation of servers, etc. They only need to write code and upload it. Function computing prepares computing resources and runs user cod ...

Posted by georgen on Wed, 18 Sep 2019 08:57:49 +0200

Build your own web pack development environment from 0

Last review: Build your own web pack development environment from 0 (1) loaderIt is mainly used to convert the original content of the module into new content according to the requirement, so that it can be used to load non-components. JS Modular! By using differentloader,WebpackYou can convert different files into JS Documents, such as CSS, ...

Posted by activeradio on Tue, 17 Sep 2019 17:04:42 +0200

Block Chain Hello World--Voting Dapp Based on ETF

The signpost Ether square Block chain Dapp Taifang hello world Environmental Science windows 10 64bit Reference blog youclavier -- Voting Dapp Course in ETF background To take over an IPFS+Ethereum project, learn about Ethereum and try to complete a Hello World project. step Refer to my other blog. Install nvm Install node 9.11.1 and switch ...

Posted by canadian_angel on Sun, 15 Sep 2019 12:54:35 +0200

vue basic learning

vue basic grammar learning I. Relationships among mount points, templates, instances <div id="root"> <!-- mount point --> <span> {{msg}} </span> </div> <script> new Vue({ el:"#root", template:"<b>{{msg}}</b>", <!-- Template --> data:{ msg:"hello world" } ...

Posted by iamtheironman on Wed, 11 Sep 2019 07:51:33 +0200

Easy implementation of background data batch export with cloud development

Applet export data to excel table, save Excel data with the help of cloud development background As we develop applets, there may be a need to export data from cloud databases in batches to excel tables.This requirement can be easily achieved with powerful cloud development!Cloud functions, cloud storage, and cloud databases are needed here.It ...

Posted by wholein1 on Tue, 10 Sep 2019 04:08:33 +0200

Scaffolding Tool (commander)

With the continuous development of NodeJs, there are more things to do for the front end. A series of things such as Vue scaffolding, React scaffolding and so on stand out and enter people's vision. For these scaffolding tools, they just stay in the application stage, and never think about how scaffolding is realized. How the vue init webpack p ...

Posted by Innovative_Andy on Mon, 09 Sep 2019 10:23:25 +0200

React component communication

Preface Previous articles have introduced the basics of React, and this article will also document how components in React communicate through an instance. If there are any mistakes or omissions in the article, please also see the little partner give more advice and thank you first. Below_ In React, there are several situations where component ...

Posted by Allan- on Sun, 08 Sep 2019 19:07:54 +0200

Principle and Use of Handcrafted Date Selector xy-date-picker

Recently, I spent almost two weeks of idle time creating a date selection component. Let's see what happens first It can be said that it is a component that is often used and few people will actively implement it. After all, it still takes a certain amount of time to achieve it. So after normal work, you can try to create some basic component ...

Posted by somenoise on Fri, 06 Sep 2019 06:10:32 +0200