GraphQL-Sword and Bridge for Front-end Development

Links to the original text: https://www.cnblogs.com/zhuanzhuanfe/p/10324700.html Basic concepts GraphQL GraphQL is a query language for the API, developed by Facebook and open source, and runs on the server side using a type-based syst ...

Added by pipeten on Mon, 02 Sep 2019 15:26:26 +0300

Testing JavaScript with Jest (2019)

Author: Valentino GagliardiTranslator: Crazy Technology House Original: https://www.valentinog.com/bl... Reproduction is strictly prohibited without permission What does testing mean? Testing in technical terms means checking whether our code meets certain expectations. For example, given some input, a function called "transformer" s ...

Added by slionheart on Mon, 02 Sep 2019 06:18:29 +0300

Hands have a front-end scaffold of their own

Many little buddies have been struggling about what scaffolding is?In fact, the core function is to create the project initial file, the problem comes again, is there not enough scaffolding on the market, why do you want to write it yourself? As soon as you mention scaffolding, you'll think vue-cli, create-react-app, dva-cli.... Their character ...

Added by tidalwave on Mon, 02 Sep 2019 04:08:50 +0300

Realization of Graphic Bed Tools - Basic Chapter

In the previous chapter, we introduced Use of Graphic Bed Tools (Upload Components) In this chapter, we will analyze the implementation of the Graphic Bed Tool. We will teach you how to write a Graphic Bed Tool (Node Tool). Before teaching begins, we need to prepare: Node Running Environment Node is used to develop the upload tool on the drawi ...

Added by sylesia on Sun, 01 Sep 2019 08:11:59 +0300

vue + koa2 implements session | token login status verification

Differences between Session landing and Token landing 1. Session login is to generate user-related session data on the server side and send the session_id to the client side to store in cookies, so that when the client requests, session_id can verify the existence of session data on the server side, so as to complete user authentication. This a ...

Added by shwanky on Thu, 29 Aug 2019 15:14:01 +0300

Basic steps of Web database login

Logic of thinking: 1. Layout the login page, which sets the form to submit to the servlet class in a better way to post. 2. The servlet class obtains the content of the request body (parameter content) 3. Setting up and verifying the content of recei ...

Added by KPH71 on Wed, 28 Aug 2019 06:32:28 +0300

jwt is used to implement validation in express framework.

Then the last article (using session to save user data) let jwt to save user data.Passport-jwt/json webtoken is used here.passport-jwt is a validation strategy of passport. It is validated using JWT (json web token).JSON webtoken is a module for encoding, decoding and verifying jwt. Using jwt to save user data and using session to save user dat ...

Added by fourteen00 on Sat, 24 Aug 2019 11:07:48 +0300

Note 2 of React+Redux Front-end Development Practice: Hello World Case Based on Webpack

This build is divided into two parts: one is the necessary configuration in the early stage, and the other is the development of React code. [React Hello World Project Based on Webpack] 1. Pre-necessary allocation (1) First of all, we should ensure that Node.js has been installed on the reader's development equipment and a new project is bui ...

Added by iceblossom on Fri, 23 Aug 2019 07:52:21 +0300

Beginning with GraphQL, your first Query

Please step into my Blog for a better reading experience!Links to this article Here What is GraphQL? The official interpretation of GraphQL is a query language for the API.That may not be very understandable. For example, a traditional restFulAPI for requesting user data: This API always returns three attributes: id,name,avatar. What if we do ...

Added by adamgram on Thu, 22 Aug 2019 05:09:58 +0300

Animation and Deformation

1. Animation The animation sequence is set by @keyframes. Each key frame in the sequence describes how animation elements are rendered within a specific time of the animation sequence. @keyframes Animation Name{ from{ } to{ } } @keyframes Animation Name { 0% { left:0; } ...

Added by MikeTyler on Mon, 12 Aug 2019 12:03:14 +0300