Node.jsConnect mongodb

If you don't know this before reading this article, you won't simply use mongodb. Stamp here 1. Install mongodb dependency, here we install v2.2.33, if we've encountered it beforeDb.collectionIs not function is really just a mongodb library version issue (desktop creation of fml files) My project file name is fml C:\Users\admin\Desktop\fml> ...

Posted by fredi_bieging on Thu, 02 Jul 2020 07:53:41 -0700

Construction of koa2 view layer for Js full stack development

koa2 view layer construction Next to the previous one koa2 routing and mvc building in Js full stack development Let's continue to learn about koa2. In the previous article, we split the project into route, controller and service layers according to the mvc architecture, but the view layer and control ...

Posted by ShugNorris on Sun, 28 Jun 2020 19:06:29 -0700

Insight into details! react 16.8.6 source code Analysis-1 error reporting and warning

preface As a front-end page and demand shredder, it can achieve limited improvement by repeating the same business requirements in daily work. In order to jump out of this mountain and open up a new vision, I suggest you read the source code of the top open source library on the market. This is a grea ...

Posted by SBro on Sun, 21 Jun 2020 20:12:41 -0700

Push system of message (e-mail, SMS, websocket, app) based on nest and redis

system function summary In order to avoid redundant code, the function of message push is taken as an independent platform. Each subsystem generates tasks through common RESTful interface or message (kafka).Push function can be email, SMS, WebSocket or App. Tasks can be executed immediately or regularly. In order to meet the function of multip ...

Posted by rarebit on Sun, 21 Jun 2020 01:35:41 -0700

Construction of appium automatic test environment

1. Installation Node.js Reason: Appium is implemented with nodejs, so node is interpreter Download address: https://nodejs.org/en/download/releases/ Be careful Node.js Compatible with the version of Appium, you can check: https://github.com/appium/appium/releases After installation, open cmd to check ...

Posted by tomash on Wed, 17 Jun 2020 00:53:05 -0700

week11_day02_Vue project 2

1.2 re create project: from which step Vue init webpack project name 1.3 copy item: do not copy directly Copy except nodes_ Modules, files other than After copying, cnpm install 1.4 different contents No problem, npm run dev can be started 1.5 press Ctrl + c to close after startup You can't access it ht ...

Posted by galvin on Tue, 16 Jun 2020 23:57:45 -0700

First Identity Vue_Server-side rendering of SSR base

Resources https://ssr.vuejs.org Current Development Version "vue": "^2.6.11", "vue-router": "^3.3.4", "vue-server-renderer": "^2.6.11", "vuex": "^3.4.0" concept Server-side rendering: Render the vue instance as an HTML string directly back, activate as an interactive program on the front, old-fashioned; SSH can only return HTML ...

Posted by LikPan on Tue, 16 Jun 2020 09:21:51 -0700

Node.js The use of Express framework

Node.js The use of Express framework Node.js The use of Express framework 1 Introduction to express framework 1.1 introduction and features of express framework 1.2 preliminary use of Express 2 Express framework Middleware 2.1 middleware introduction two point two app.use Usage of Middleware 2.3 ...

Posted by ThatGuyBob on Fri, 12 Jun 2020 00:59:16 -0700

Vue video player Vue video plug in

introduce vue video player is the vue version of videojs video.js Official website: https://videojs.com/ Refer to the official website: Video.js Is a web video player built from scratch for the HTML5 world. It supports HTML5 video and modern streaming formats, and it supports video playback on desktop ...

Posted by chiprivers on Thu, 11 Jun 2020 21:27:52 -0700

JS design mode (to be sorted out)

Interview and knocking, advanced stepping stone, design with mode, code more reasonable Explanation and application of Javascript Design Pattern System (exercise code) Chapter 2 object oriented 2-1 build development environment 2-2 what is object-oriented 2-3 object oriented inheritance 2-4 object oriented encapsulation 2-5 obje ...

Posted by dandaman2007 on Tue, 09 Jun 2020 23:30:28 -0700