This skill provides comprehensive patterns and best practices for integrating Node.js and TypeScript applications with Azure Database for PostgreSQL Flexible Server. It simplifies the implementation of secure connections using both traditional password-based authentication and modern Microsoft Entra ID (passwordless) methods. The skill includes robust guidance on connection pooling for high-performance production environments, automatic token refresh for long-running processes, type-safe query implementation, and transaction management to ensure data integrity and security in cloud-native environments.
主要功能
01Best practices for parameterized queries and SQL injection prevention
02Support for Microsoft Entra ID (passwordless) and Managed Identity authentication
03Automated Entra ID token refresh logic for long-running application stability
0440,494 GitHub stars
05Type-safe query implementation using TypeScript generics and the pg package
06Production-ready connection pool configuration and lifecycle management
使用场景
01Migrating Node.js database layers to modern passwordless authentication and Managed Identities
02Implementing high-performance, type-safe data access layers in enterprise TypeScript projects
03Building serverless functions or microservices that require secure access to Azure PostgreSQL