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.
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 …
Using Terraform, creating Thumbnail Image in AWS Lambda with AWS S3 trigger
In this video, we will be writing an AWS Lambda function that creates a thumbnail image which is triggered whenever an image is uploaded to a S3 bucket with AWS S3 trigger and deployed using Terraform. Source code can be found here.
We'll first initialize the project
$ export AWS_PROFILE=arundhaj …Routing in Python Flask and HTTP Methods
In this article and video, we’ll see how to write RESTful APIs using Python Flask for the required behavior.
The route decorator is used to define the behavior of APIs. It can be applied to a method or class. Below is the basic use of route.
@app.route('/user …