Java's new project learning online notes-day10

1.4 test CMS one key release interface 1.4.1 configure virtual host In nginx, configure the virtual host on the course details page to access: www.xuecheng.com/course/detail /... HTML. #Static resource serviceupstream static? Server? Pool{ server 127.0.0.1:91 weight=10; } server { listen 80; server_name www.xuecheng.com; ssi ...

Posted on Fri, 15 Nov 2019 17:05:20 -0500 by jrforrester

Gin framework - logging with Logrus

SummaryThe previous article shared the routing configuration of the Gin framework, and this article shared logging.After checking a lot of data, github.com/sirupsen/logrus is the most widely used log record in Go. Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger.   By default, the ...

Posted on Fri, 15 Nov 2019 02:53:29 -0500 by knobby2k

MongoDB basic knowledge and operation literacy!

MongoDB learning notes - updating json can describe a variety of relationships for us: one to one, one to many, many to one, and many to many Similar to js syntax Creating a record will automatically generate an "id" primary key, unique id, which represents the Object, and can also be declared as user-defined data {_id:"123"} BSON and ...

Posted on Fri, 15 Nov 2019 00:12:11 -0500 by toplay

Use Python data analysis to choose mobile phones. You just chose the right one after the double 11

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. By PS: if you need Python learning materials, you can click the link below to get them by yo ...

Posted on Tue, 12 Nov 2019 01:50:17 -0500 by ego0

Play wechat everyday, Spring Boot develops private instant messaging system

1/ overview Using Spring Boot as the basic framework, Spring Security as the security framework and WebSocket as the communication framework, point-to-point chat and group chat are realized. 2 / dependence required Spring Boot version 1.5.3 uses MongoDB to store data (not required). Maven relies on the following: <properties> <java ...

Posted on Sat, 09 Nov 2019 04:49:06 -0500 by yong

Using mongoose operation to add, delete, modify and query mongodb

Using mongoose to operate mongodb's test file Connect to database1.1 introduction of mongoose1.2 connect to the specified database (only the database changes in URL)1.3 get connection object1.4 monitoring of binding connection completion (used to prompt connection success) Get the Model corresponding to a specific set2.1 literal Schema (descri ...

Posted on Fri, 08 Nov 2019 12:16:15 -0500 by waldo

Forged form data part of form builder random vehicle license plate

A few days ago, I recorded the mongodb part of the form data storage structure of the form builder, and then I wanted to forge some data. Why forge data? It's a shame to say that the PC and mobile end of the drag and drop design form and the list corresponding to the form should display which fields and whether they support the search and print ...

Posted on Wed, 06 Nov 2019 23:42:34 -0500 by bow-viper1

Spring cloud responsive microservice series tutorial (Chapter 10): complete code example of responsive RESTful service

This is the tenth chapter of the series of practical spring cloud responsive microservices. This chapter gives a complete code example of responsive RESTful services. It is suggested that children's shoes without previous foundation should be read first, and the chapter catalog should be placed at the end of the article. 1. Build responsive RES ...

Posted on Mon, 04 Nov 2019 22:51:26 -0500 by maseeha

Pipeline operation delete MongoDB duplicate data

Preface Because MongoDB is less restrictive, sometimes there are many duplicate data in the database, especially the data of the crawler. Once the number of documents reaches a certain data level, in order to ensure that the newly inserted data does not repeat, if the update operation is a little slow each time, it's better to use the one-time ...

Posted on Fri, 01 Nov 2019 10:24:56 -0400 by BLINDGUY

Use aws sqs as buffer queue (go)

background As a newcomer, the first task involved in the project is to add message queues for the storage of operation records. Why should we do this? The reasons are as follows: in the existing system, we directly add the user's operation records to the mongodb database, but when the peak occurs in our system, we find that mongodb can't stand ...

Posted on Sat, 26 Oct 2019 05:12:08 -0400 by nealios