• Node.js How to create an express service


    In this paper, an example is given Node.js Method to create an express service. For your reference, the details are as follows: 1. Create an httpserver server stay node.js After downloading the Windows version of node on the official website, you can install node and create a new one server.js File, start the first node […]

  • Vue Axios secondary packaging


    import axios from ‘axios’;import QS from ‘qs’; //Environment switching// if (process.env.NODE_ENV === ‘development’) {// axios.defaults.baseURL = ‘’;// } else if (process.env.NODE_ENV === ‘production’) {// axios.defaults.baseURL = ‘https://www.production.com’;// } axios.defaults.timeout = 5000;//HTTP request interceptoraxios.interceptors.request.use( config => { config.headers = { ‘Content-Type’:’application/x-www-form-urlencoded’ } return config; }, error => { return Promise.reject(error); }); //Response interceptor is exception handlingaxios.interceptors.response.use( […]

  • MySQL introduction lesson 1 creating, modifying and deleting tables


    The original text is on my GitHub, welcome to subscribe. preface I want to learn database, so I have thisMysqlSeries. This series is mainly used for my studyMysqlI take it as learning notes.Instead of starting with the knowledge of database installation, user addition and permission allocation, it focuses onMysqlTable operation, data addition, deletion, modification and […]

  • MySQL introduction lesson 2 data types


    The original text is on my GitHub, welcome to subscribe. preface This article continues to learn the first lesson of MySQL introduction “create table, change table, delete table”. To build an excellent table, it is very important to choose the appropriate data type. If the data type is not selected properly, it will not only […]

  • Today, the night team gathered by the big guys is officially established!


    Today’s article is to tell you that many powerful developers in the industry have set up a team to serve the majority of developers. Now, you may have the following questions: Why team up? What will this team bring to developers? Who are the team members? OK, let’s take 3 minutes to get to know […]

  • Using verdaccio to create NPM private library


    Using verdaccio to create NPM private library Article description This article is recorded in the language sparrow. You can see how to create NPM private library with verdaccio.

  • MySQL introduction lesson 4 data query


    In my GitHub, you are welcome to subscribe. preface Previous articles The first lesson of Mysql introduction MySQL introduction lesson 2 data type The third course of MySQL introduction “data addition, deletion and modification” The reason why the data query list is pulled to an article is that there are many knowledge points involved in […]

  • MySQL introduction lesson 5 foreign key constraint


    Originally on my GitHub, welcome to subscribe. Other articles: The first lesson of MySQL introduction: building, modifying and deleting tables MySQL introduction lesson 2 data type The third course of MySQL introduction “data addition, deletion and modification” MySQL introduction lesson 4 query data Preface The foreign key constraint ismysqlThe association between tables provided can ensure […]

  • Recommendation: a domestic online real-time programming environment, programmer interview assistant, can watch candidates’ remote programming in real time


    Ten years ago, at a college job fair, Tony (Tencent’s CTO) interviewed me: “what is the pipeline?” “Your resume says that your bash script is well written. Where is your code? Can it run? “. As the first interview, I was nervous and sweaty, but I couldn’t remember what the pipeline was. Although I wrote […]

  • How to achieve lint staged?


    introduce Lint staged runs linters against the temporary git file and does not allow A kind of Enter your code base! start Last year, I shared a theme – standardized chemical workflow convention submission, which mainly focuses on the following issues when submitting Code:Temporary storage areaCode format verification and submission information specification verification. It was […]

  • Write the first page with nodejs


    Background: in the remaining months of this year, we will learn back-end development. Use nodejs and MYSQL to write back-end interfaces. First, use nodejs to write a page Step 1: create a nodejs folder on disk e, which contains two folders, app and server Step 2: run the command under the server folder NPM init […]

  • The function of generating verification code with nodejs


    Verification code is a very common anti cheating and anti attack means. Actually, it’s not difficult for people with good technology to realize this function, but not everyone, and every language is naturally suitable for a certain function… However, we can block differences and simplify problems by encapsulating interfaces. Now we can use a simple […]