Category: Fix Logs / DevOps Playbooks

  • Nginx Reverse Proxy for Node.js (Config Snippet + Test with curl)

    Nginx Reverse Proxy for Node.js (Config Snippet + Test with curl)

    Running a Node.js app behind Nginx is a battle-tested pattern: Nginx handles TLS, static files, gzip, and connection upgrades (for WebSockets), while your Node app focuses on business logic. This guide gives you a clean, production-ready Nginx config and shows how to test it with curl. What you’ll set up Works on Ubuntu/Debian and CentOS/RHEL.…

  • NestJS + PostgreSQL: Create Your First REST API

    NestJS + PostgreSQL: Create Your First REST API

    CRUD example with TypeORM Building a REST API with NestJS, PostgreSQL, and TypeORM is a powerful, scalable choice for production apps. In this guide, you’ll create a complete CRUD API (Create, Read, Update, Delete) using a simple Todo resource. We’ll cover project setup, database configuration, an entity + DTOs, a service, a controller, and how…

  • Quick Tip: Center a Widget in Flutter the Right Way

    Quick Tip: Center a Widget in Flutter the Right Way

    Centering widgets is one of the most common tasks in Flutter development. While it seems simple, there are actually several ways to do it — and choosing the right one depends on your layout needs. In this quick guide, we’ll look at three effective ways to center a widget in Flutter: using Center, Align, and…