Tag

nodejs

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
May 7, 2025 · Backend Development

Implementing Contract Query and Delay Operations with an MCP Server

This article describes the background, functional requirements, and a complete Node.js implementation for querying contract information and handling contract extensions using natural‑language prompts through an MCP client and server architecture.

APIContract ManagementMCP
0 likes · 6 min read
Implementing Contract Query and Delay Operations with an MCP Server
Code Mala Tang
Code Mala Tang
Apr 24, 2025 · Operations

When npm install Fails: npm ci, --legacy-peer-deps & --force Explained

Developers often struggle with choosing the right npm command for CI/CD pipelines, so this guide compares npm install and npm ci, explains version specifiers, and details how --legacy-peer-deps and --force can resolve dependency conflicts, registry issues, and build failures.

CI/CDdependency managementforce
0 likes · 9 min read
When npm install Fails: npm ci, --legacy-peer-deps & --force Explained
Ctrip Technology
Ctrip Technology
Aug 15, 2024 · Frontend Development

TaskHub: Frontend Automation Platform and RPC BFF Design Practices

TaskHub is a front‑end automation platform that separates core and auxiliary modules to improve task scheduling, logging, and debugging, featuring a decoupled engine, RPC BFF architecture, and real‑world use cases that demonstrate faster issue resolution, task termination, and overall development efficiency.

TypeScriptfrontend automationlogging
0 likes · 19 min read
TaskHub: Frontend Automation Platform and RPC BFF Design Practices
Architect's Guide
Architect's Guide
Aug 10, 2024 · Frontend Development

Evolution of Front‑End/Back‑End Separation: From JSP/Servlet to Node.js‑Based Full‑Stack Architecture

This article traces the historical evolution of web application architecture—from tightly coupled JSP/Servlet models through semi‑separated Ajax‑driven approaches to fully separated SPA and Node.js‑mediated full‑stack designs—highlighting the motivations, drawbacks, and benefits of each stage for modern front‑end development.

APIWeb Developmentarchitecture
0 likes · 14 min read
Evolution of Front‑End/Back‑End Separation: From JSP/Servlet to Node.js‑Based Full‑Stack Architecture
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 11, 2024 · Backend Development

Scraping Frontend Job Listings from Boss Zhipin with Puppeteer and Storing in MySQL using NestJS

This tutorial demonstrates how to use Puppeteer to crawl frontend job postings from the Boss Zhipin website, extract details and job descriptions, and persist the data into a MySQL database through a NestJS application with TypeORM, including Docker setup and optional SSE streaming.

MySQLNestJSPuppeteer
0 likes · 10 min read
Scraping Frontend Job Listings from Boss Zhipin with Puppeteer and Storing in MySQL using NestJS
Architect
Architect
Jun 29, 2024 · Frontend Development

One‑Click Frontend Deployment with Jenkins: From GitLab to Server

This article explains how to use Jenkins to automatically pull a front‑end Angular project from a GitLab repository, install the required Node.js and npm versions, build the static files, compress them, and deploy the resulting package to a Linux server with backup and verification steps.

CI/CDFrontend DeploymentGitLab
0 likes · 10 min read
One‑Click Frontend Deployment with Jenkins: From GitLab to Server
Architecture Digest
Architecture Digest
Apr 25, 2024 · Frontend Development

Douyin Open-Source Short Video Project – Overview and Setup Guide

This article introduces the Douyin open‑source short‑video project built with Vue and Vite, provides a free book giveaway link, and gives step‑by‑step instructions for installing Node, cloning the repository, installing dependencies with pnpm, and running the application locally.

Vuefrontendnodejs
0 likes · 3 min read
Douyin Open-Source Short Video Project – Overview and Setup Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 12, 2024 · Operations

Automatic Node.js Version Switching Plugin for VS Code

This article explains the limitations of global Node version managers like n and nvm, presents a demo Node script for per‑project version switching, and details a VS Code extension that automatically detects a project's required Node version and switches it in the integrated terminal.

NVMVSCodeVersion Management
0 likes · 10 min read
Automatic Node.js Version Switching Plugin for VS Code
Sohu Tech Products
Sohu Tech Products
Dec 20, 2023 · Information Security

Command Injection Vulnerabilities in Node.js: Analysis and Prevention

The article examines how command‑injection flaws in popular Node.js npm packages such as find‑exec and fs‑git arise from unsafe concatenation of user input into shell commands, and recommends rigorous validation, using execFile or spawn, and regular dependency audits to prevent catastrophic system compromise.

CVESecure CodingSecurity
0 likes · 11 min read
Command Injection Vulnerabilities in Node.js: Analysis and Prevention
Architect
Architect
Dec 7, 2023 · Backend Development

Engineering Evolution and Optimization of Tencent Docs Microservice Gateway

This article analyzes the existing issues of the Tencent Docs web‑gateway, explains why dependency versions and monorepo structure caused resource exhaustion, and details a series of engineering improvements using pnpm workspace, custom Docker contexts, lock‑file hooks, and soft‑link strategies to achieve a clean, reproducible build pipeline.

Build OptimizationDockerMicroservices
0 likes · 22 min read
Engineering Evolution and Optimization of Tencent Docs Microservice Gateway
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2023 · Backend Development

Using tree-node-cli to Visualize and Manage Project File Structures

This article introduces the npm package tree-node-cli, explains how to install it globally, demonstrates its powerful visual tree output, customizable options, and how it can efficiently help developers understand and manage complex project file hierarchies.

Project Managementcommand linefile-structure
0 likes · 10 min read
Using tree-node-cli to Visualize and Manage Project File Structures
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 4, 2023 · Operations

Docker Basics and Step‑by‑Step Guide to Deploy Frontend and Node.js Applications

This article explains Docker fundamentals, compares containers with virtual machines, details Docker’s core components and common commands, and provides complete step‑by‑step instructions for packaging, building, running, automating, and pushing both a Vite‑based React frontend and an Express‑based Node.js backend using Nginx and shell scripts.

DeploymentDockerNginx
0 likes · 17 min read
Docker Basics and Step‑by‑Step Guide to Deploy Frontend and Node.js Applications
ByteFE
ByteFE
May 17, 2023 · Backend Development

Domain‑Driven Design for Marketing: Abstracting Limits, Rules, Benefits, and Feedback with Node.js

This article explores how to break down the complex marketing domain into modular, atomic components—limits, rules, benefits, and feedback—using Node.js, demonstrates a flexible factory pattern for assembling activities, and provides practical advice for refactoring and product design in real‑world projects.

Domain-Driven Designbackendmarketing
0 likes · 24 min read
Domain‑Driven Design for Marketing: Abstracting Limits, Rules, Benefits, and Feedback with Node.js
Sohu Tech Products
Sohu Tech Products
May 12, 2023 · Backend Development

Unified Poster Image Generation Service for FoxFriend: Architecture, Implementation, and Optimization

This article details the design and deployment of a unified poster image generation service for the FoxFriend social product, explaining the background, challenges of platform‑specific implementations, the Node.js + Puppeteer solution, architectural flow, engineering stack, performance optimizations, operational results, and future enhancements.

Image GenerationPuppeteerbackend
0 likes · 16 min read
Unified Poster Image Generation Service for FoxFriend: Architecture, Implementation, and Optimization
TAL Education Technology
TAL Education Technology
Mar 16, 2023 · Frontend Development

Building a Frontend Scaffolding Tool from Scratch with Node.js and TypeScript

This article walks through creating a Node.js‑based TypeScript CLI scaffolding tool for frontend projects, covering background, project template setup, TypeScript configuration, package scripts, command‑line parsing with Commander, interactive prompts with Inquirer, code retrieval via download‑git‑repo, shell execution, and final logo rendering, all illustrated with concrete code examples.

CLITypeScriptcommander
0 likes · 13 min read
Building a Frontend Scaffolding Tool from Scratch with Node.js and TypeScript
政采云技术
政采云技术
Dec 6, 2022 · Frontend Development

Front‑end Localized Deployment: DNS Forwarding and Asset Replacement Strategies

This article explains how a front‑end team can localize static resources for intranet deployment by either intercepting DNS requests to redirect CDN domains to internal servers or by scanning and replacing CDN URLs during the build process, and provides step‑by‑step implementation details with code examples.

CI/CDDNSDeployment
0 likes · 14 min read
Front‑end Localized Deployment: DNS Forwarding and Asset Replacement Strategies
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2022 · Backend Development

Backend Technology Selection for a Low‑Code Poster Platform

This article explains the backend technology choices for a low‑code poster platform, covering Node.js framework selection, database decisions (MySQL, MongoDB, Redis), authentication methods (Session vs JWT), and unit/integration testing tools such as Mocha, SuperTest, and related code examples.

JWTMongoDBMySQL
0 likes · 14 min read
Backend Technology Selection for a Low‑Code Poster Platform
ByteFE
ByteFE
Oct 31, 2022 · Backend Development

Image Optimization for ISV Pages: Offline Compression, WebP Conversion, and Batch Processing

This article details a systematic approach to reducing image sizes for ISV‑generated pages, covering offline compression, WebP conversion, data structure design, batch processing pipelines, monitoring, and fallback strategies, while providing code examples and performance comparisons.

Image Optimizationbackendbatch processing
0 likes · 26 min read
Image Optimization for ISV Pages: Offline Compression, WebP Conversion, and Batch Processing
Ctrip Technology
Ctrip Technology
Jun 24, 2022 · Backend Development

Best Practices and Lessons Learned from Implementing GraphQL BFF Services at Ctrip

This article shares Ctrip's experience building GraphQL‑based Backend‑for‑Frontend services, covering the technology stack, data‑graph modeling, error handling with union types, non‑null field usage, performance optimizations, engineering practices such as data‑loader batching, virtual paths, monitoring, and testing.

ApolloBFFGraphQL
0 likes · 21 min read
Best Practices and Lessons Learned from Implementing GraphQL BFF Services at Ctrip