MirahLabs Engineering Blog

Technical insights, tutorials, and architectures written by our design and backend engineers.

Active Filters: Tag: flask Clear All
Python June 15, 2026

Scaling Python Flask Applications with PostgreSQL

Best practices for configuring database pools, write indexes, caching, and utilizing Docker deployment structures for Flask backends.

⏱️ 1 min read Read Article
Python May 13, 2026

Implementing OAuth 2.0 and OpenID Connect from Scratch in Flask

OAuth 2.0 and OIDC are the standards powering 'Sign in with Google/GitHub.' This guide explains the flows and implements a complete authorization code flow with PKCE in Flask.

⏱️ 22 min read Read Article
Cloud Computing May 12, 2026

Nginx as a Reverse Proxy for Flask: Configuration, SSL, and Performance

Nginx sits in front of your Flask app in production, handling SSL termination, static files, request buffering, and load balancing. Learn the optimal Nginx configuration for Flask deployments.

⏱️ 21 min read Read Article
Python May 08, 2026

SQLAlchemy 2.0: The Complete Migration Guide

SQLAlchemy 2.0 introduces a new style API, async-first design, and significant performance improvements. Learn what changed and how to migrate your Flask applications.

⏱️ 20 min read Read Article
Software Architecture April 30, 2026

Hexagonal Architecture (Ports and Adapters) in Python Flask

Hexagonal architecture separates your business logic from infrastructure concerns. Learn how to structure Flask applications with clean boundaries between domain, application, and infrastructure layers.

⏱️ 21 min read Read Article
Cloud Computing April 04, 2026

Deploying Flask on AWS ECS Fargate: A Production Blueprint

AWS ECS Fargate runs containers without managing servers. This complete blueprint covers building the image, pushing to ECR, configuring ECS services with ALB, and automating deployments with GitHub Actions.

⏱️ 22 min read Read Article