https://raw.githubusercontent.com/williamyuaus/blog-img/master/20210922122032.jpg

William Yu

Get Your Website Contact Form Away From Spam

You may just finished your own website, and added a contact form and waiting for any potential customers requesting further information from you. However, few days passed, most of the email you have received are spam. Such as this: This is one of the examples in my inbox. I got this kind of email several times per day. Later on, I’m not excited to check the new email from the contact form.

Getting Started With Elasticsearch and Kibana (Opensearch)

What is the OpenSearch project? The OpenSearch project, created by Amazon, is a forked search project based on old versions of Elasticsearch and Kibana. It is a 100% open-source search, analytics, and visualization suite. Why use OpenSearch? Fast, Scalable Full-text Search Help users find the right information within your application, website, or data lake catalog. Application and Infrastructure Monitoring Easily store and analyze log data, and set automated alerts for underperformance.

Unit Testing for Vue Router Global After Hooks

Intro It is always not easy to do the unit testing for the Vue Router. People prefer to implement end-to-end testing for this. Especially, if you have defined some Vue router global hooks, it would be more difficult to testing the execution of them. Fortunately, we still can find a way to do the unit testing for the Vue Router Global After Hooks Background In my project, I have implemented afterEach as global after hooks in my Vue router settings.

Install Redis on OpenSUSE Leap 15.4

since there is no Redis official package for OpenSUSE Leap 15.4, it is difficult for us to install Redis on this Linux. I tried several ways to install Redis, including via Snap. But both of them did not work. Finally, I tried install Redis by complying from the source. Steps for installing Redis First, we need to download Redis source package as we can find on the official website. To obtain the source files for the latest stable version of Redis from the Redis downloads site, run:

How to Deploy a Spring Boot and Vue Application on AWS EC2 Using Docker

Intro

To develop a single-page application, Spring Boot and Vue can be a good choice. When you finished the development stage, it is time to deploy the app online.

Traditionally, you may need to write scripts to start your java service, and you need to do a lot of configuration for the Nginx server.

To make the process easier and more efficient, I would recommend using Docker to deploy the app. You may find it a little bit difficult to learn at the beginning, but you will benefit from the learning since Docker could help you a lot.