If you are starting with Kubernetes, the Pod is the first thing to understand. Every container you run on Kubernetes runs inside a Pod. Deployments, Jobs, and StatefulSets all create Pods for you. In this post we'll cover what a Pod is, how to write a Pod manifest, and how …
Kubernetes Namespace Explained with Examples
A Namespace in Kubernetes is a way to divide a single cluster into multiple virtual clusters. It gives you a scope for resource names, so two teams or two environments (say dev and staging) can each have a Deployment called api in the same cluster without clashing.
Namespaces are useful …
Many-to-Many Relationships in RDBMS with PostgreSQL
In a relational database, a many-to-many relationship exists when multiple rows in one table are related to multiple rows in another table. A classic example is students and courses — a student can enroll in many courses, and a course can have many students enrolled in it.
The Problem with Direct …
Integrating Firebase Authentication with Flutter on Android
Firebase Authentication is the fastest way to add a complete sign-in system to a Flutter Android app. It handles credential storage, session management, and token refresh so you don't have to. This guide walks through the full setup from dependencies to listening for auth state changes.
1. Add Dependencies
Add …
Storing Extended User Data in Firebase with a UserProfile Collection
When you start building an app with Firebase, the first thing you reach for is Firebase Authentication. It handles sign-up, login, password resets, social logins, and session management out of the box. It's fast to integrate and removes a huge amount of boilerplate.
But it doesn't take long before you …
Flutter's SafeArea for Modern Android Devices
With the rise of "edge-to-edge" screens, modern Android smartphones come in all shapes and sizes. From corner hole-punch cameras and teardrop notches to rounded corners and folding screens, the visible canvas of a mobile app is no longer a perfect, uninterrupted rectangle.
If you don't account for these hardware and …
Demystifying Row Level Security (RLS) in Supabase with a Simple Example
If you have ever built an application with Supabase, you probably know that it lets you query your database directly from your frontend code. You don't need to write a traditional backend API server (like Express or Django) just to fetch data.
While this is incredibly convenient, it raises an …
Supabase Anon Key vs Publishable Key: What's the Difference?
If you're building a web or mobile application with Supabase, one of the first configuration steps involves initializing the Supabase client with a URL and an API key.
However, you might notice different terminologies floating around in tutorials, official documentation, or the Supabase dashboard: Anon Key, Publishable Key, Service Role …
How to Configure and Use Flask-CORS
Cross-Origin Resource Sharing (CORS) is a security feature implemented by web browsers that controls how web pages in one domain can request and interact with resources hosted on another domain. When building a Flask API that will be accessed by a frontend running on a different port or domain, you'll …
Using Django ORM Collector to Get Dependent Tables with Foreign Keys
When working with Django applications, you might need to find all dependent records that reference a particular model instance through foreign key relationships. Django's ORM provides a powerful tool called Collector that can help you identify and collect all related objects before performing operations like deletion.
In this article, we'll …