Phát triển Backend
Phát triển phía máy chủ với Node.js, NestJS, Spring Boot, Python, socket, Nginx và tích hợp thanh toán.
🚀 Quick Start Guide
Get up and running with the NestJS tutorial in 5 minutes!
Đọc bài viết →Comprehensive NestJS Learning Materials
This repository contains comprehensive teaching materials for learning NestJS from scratch to advanced levels, including complete working examples with frontend integration.
Đọc bài viết →📘 Comprehensive RESTful API Guide
REST stands for Representational State Transfer. It is an architectural style for designing networked applications, introduced by Roy Fielding in his 2000 doctoral dissertation.
Đọc bài viết →Setup Instructions
Before you begin, ensure you have the following installed: Node.js (v18 or higher) - Download npm (comes with Node.js) or yarn Git (optional, for version control)
Đọc bài viết →Complete Working Examples
This directory contains a fully functional NestJS backend application with a frontend that demonstrates all RESTful API interactions.
Đọc bài viết →NGINX Learning Materials
Welcome to the comprehensive NGINX learning curriculum! This repository contains teaching materials designed to take students from complete beginners to advanced NGINX administrators.
Đọc bài viết →Advanced Level - Module 1: Performance Tuning
By the end of this module, you will: Optimize worker processes and connections Tune buffer sizes Configure keepalive connections Optimize file handling Understand connection limits Monitor and benchmark performance
Đọc bài viết →Advanced Level - Module 2: Security Hardening
By the end of this module, you will: Hide NGINX version information Configure security headers Implement rate limiting Secure file permissions Protect against common attacks Configure access controls Understand SSL/TLS s
Đọc bài viết →Advanced Level - Module 3: Troubleshooting
By the end of this module, you will: Understand logging and log analysis Test configuration files Debug common errors Monitor NGINX performance Troubleshoot connection issues Fix configuration problems Use debugging tool
Đọc bài viết →Advanced Level - Module 4: Rate Limiting
By the end of this module, you will: Understand rate limiting concepts Configure request rate limiting Set up connection limiting Implement IP-based limiting Configure burst and delay Handle rate limit whitelisting Monit
Đọc bài viết →Advanced Level - Module 5: Advanced Caching
By the end of this module, you will: Understand advanced caching strategies Configure cache purging Implement cache segmentation Set up cache warming Configure cache revalidation Understand cache locking Monitor cache pe
Đọc bài viết →Advanced Level - Module 6: HTTP/2 and HTTP/3
By the end of this module, you will: Understand HTTP/2 features and benefits Configure HTTP/2 in NGINX Understand HTTP/3 (QUIC) protocol Configure HTTP/3 support Optimize for HTTP/2 Troubleshoot HTTP/2 issues
Đọc bài viết →Advanced Level - Module 7: Monitoring and Observability
By the end of this module, you will: Set up NGINX status monitoring Configure comprehensive logging Use monitoring tools Set up alerts Monitor performance metrics Understand key performance indicators Create monitoring d
Đọc bài viết →Beginner Level - Module 1: Introduction to NGINX
By the end of this module, you will: Understand what NGINX is and its purpose Know the difference between NGINX and Apache Understand NGINX architecture Learn about NGINX use cases
Đọc bài viết →Beginner Level - Module 2: Installation
By the end of this module, you will: Install NGINX on different Linux distributions Install NGINX on macOS Verify the installation Start, stop, and restart NGINX Understand basic service management
Đọc bài viết →Beginner Level - Module 3: Basic Configuration
By the end of this module, you will: Understand NGINX configuration file structure Learn about directives and contexts Understand the main configuration file Learn about include directives Practice editing configuration
Đọc bài viết →Beginner Level - Module 4: Serving Static Files
By the end of this module, you will: Configure NGINX to serve static files Understand the root and alias directives Set up proper file permissions Configure directory listings Handle different file types Set up caching f
Đọc bài viết →Beginner Level - Module 5: Server Blocks (Virtual Hosts)
By the end of this module, you will: Understand what server blocks are Configure multiple websites on one server Understand server_name matching Set up default server blocks Handle different domains and ports Practice wi
Đọc bài viết →Advanced Level Exercises
Optimize worker processes for your system Tune buffer sizes Configure keepalive connections Enable file caching Optimize compression settings Benchmark before and after optimizations
Đọc bài viết →Beginner Level Exercises
Install NGINX on your system Verify the installation with nginx -v Start NGINX service Access the default NGINX page in your browser Stop and restart NGINX Test configuration with nginx -t
Đọc bài viết →Intermediate Level Exercises
Generate a self-signed SSL certificate Configure NGINX to serve HTTPS on port 443 Set up HTTP to HTTPS redirect Configure strong SSL settings (TLS 1.2+, strong ciphers) Test SSL configuration with browser and command lin
Đọc bài viết →Intermediate Level - Module 1: SSL/TLS Configuration
By the end of this module, you will: Understand SSL/TLS basics Generate SSL certificates Configure NGINX for HTTPS Set up Let's Encrypt certificates Configure certificate auto-renewal Understand SSL best practices
Đọc bài viết →Intermediate Level - Module 2: Reverse Proxy
By the end of this module, you will: Understand what a reverse proxy is Configure NGINX as a reverse proxy Proxy to different backend servers Handle headers and proxy settings Configure WebSocket proxying Understand prox
Đọc bài viết →Intermediate Level - Module 3: Load Balancing
By the end of this module, you will: Understand load balancing concepts Configure different load balancing methods Set up health checks Configure session persistence Understand upstream blocks Handle failures and failove
Đọc bài viết →