Build a high-performance, auto-scaling, and cost-effective full-stack service using SST with Lambda, CloudFront, and S3.
# In preparationviews: 11创建时间:2025-03-09 14:53:09
(6) How to Use Git Actions for CI/CD Automated Deployment.
## What is Automated Deployment? Without CI/CD, if you need to deploy code to a server, you need to manually execute the following steps: 1、Connect to the server via SSH 2、Upload the code to the server 3、Run scripts to start the service For complex projects, there may be more steps involvviews: 2527创建时间:2024-03-18 14:01:44
(5) How to use Nginx to proxy requests to NestJS and serve static resources for Next.js
> The previous post deployed NestJS and Next.js services using `docker-compose`. Now we can access the services through the Public IP address of the EC2 instance.  Since our NestJS and Next.js services are deployed on different ports for example NestJSviews: 2216创建时间:2024-03-06 14:51:44
(4)Deploying a Complete Set of Web Services on EC2 via Docker Compose
> The previous article has already introduced how to install Docker and Docker Compose. This article will explain how to deploy a complete set of web services. ## 1、Creating a New Directory in EC2 Log in to `ec2` using `termius`, then create the directory structure shown below using the mkdir coviews: 2805创建时间:2024-03-06 14:46:12
(3) Connecting to EC2 and Installing Docker, Docker-compose on the Server
> In the previous article, we have already purchased a server and created a key pair and security group. In this article, we will use the key pair to connect to the server. ### 一、Connect server with SSH Download the SSH client, `Termius` is used as a demonstration here. Open the [Termius officviews: 989创建时间:2024-03-06 14:30:51
(2) Purchase an EC2 server on AWS, install Docker and docker-compose
> 根据前面两章,当把前后端的资源包都准备好后就需要去AWS购买EC2服务器了. ### 一、Access AWS EC2 #### 1、Open the [AWS official website ](https://aws.amazon.com/)and log in to AWS. Then enter `EC2 `in the search bar and click on `EC2`.  #### 2、After entering `EC2`, click on `Launch instaviews: 1086创建时间:2024-03-06 07:24:22
(1) Deploying a full web service on EC2 using Docker -- Lightweight Deployment of Nest.js
**Note: This is an article series on deploying web projects on AWS, including:** - [x] 1、Lightweight construction of backend Nest.js through Docker deployment of the entire web application service (1). - [x] 2、Lightweight construction of frontend Next.js through Docker deployment of the entireviews: 3202创建时间:2024-03-05 13:37:49
How to accurately accumulate time on the front end
## requirement The project's page needs to periodically fetch data, and it should support pausing and resuming data fetching. It also needs to accumulate the fetching time in minutes. ## implement In general, front-end developers often use setTimeout or setInterval to increment a variable by 1views: 870创建时间:2020-11-04 01:55:45
The electron + react project implements the function of printing receipts
## Introduction This article is aimed at developers with a certain understanding of Electron. For more information, please refer to the Electron official documentation. ## Requirements The company's project requires using Electron to call the system printer to print receipts. ## Analysis Thviews: 3526创建时间:2019-08-04 00:51:38
json-server + mock.js to build mock service
## Introduction Front-end developers should be familiar with the pain of building pages when the backend has defined APIs but cannot provide data services. Therefore, it is most necessary to set up a local service that can mock data. Tools Used: json-server for providing services, mockjs for simviews: 1807创建时间:2019-05-03 13:31:13
Develop a simple and easy-to-understand webpack skeleton screen plugin
## 1、The Origin of Skeleton Screens > Single-page applications are becoming increasingly common in front-end page development nowadays. They have many advantages, but the disadvantage is also obvious: the first screen loading is often very slow, presenting a blank page, which gives a poor user exviews: 4579创建时间:2019-04-06 07:48:01