Skip to main content

17 posts tagged with "supabase"

supabase tag description

View All Tags

Supabase Pitfalls: Avoid These Common Mistakes for a Robust Backend

· 13 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase Pitfalls: Avoid These Common Mistakes for a Robust Backend

Supabase offers a powerful open-source alternative to Firebase, built around PostgreSQL. Its ease of use makes it a favorite for rapid development, but this very convenience can lead developers down paths that introduce technical debt, performance bottlenecks, and security vulnerabilities. Understanding and avoiding these common pitfalls is crucial for building a robust and scalable application.

Is Supabase Vendor Lock-in a Problem? Debunking the Myths

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase has minimal vendor lock-in by design because it's built on a foundation of popular open-source technologies, most notably PostgreSQL. This is a core part of their philosophy and a key differentiator from closed-source alternatives like Firebase. However, while minimal, some "stickiness" exists in their value-added services.

Supabase Django integration

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase Integration with Django

Here's a guide to integrating Supabase with a Django application. We will use the requests library to make API calls to Supabase, as there is no official Django-specific Supabase ORM.

Supabase FastAPI integration

· 4 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase Integration with FastAPI

Here's a guide to integrating Supabase with a FastAPI application. We'll cover environment setup, connecting to Supabase, and performing basic CRUD operations.

Supabase Flask integration

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Here's a simple example of how to integrate Supabase with a Flask application. This guide will cover how to set up the environment, connect to your Supabase project, and perform basic CRUD (Create, Read, Update, Delete) operations.

Supabase answers

· 10 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Custom Postgres Roles and RLS in Supabase

Yes, you can define your own custom PostgreSQL roles and use them with RLS in Supabase. This is a powerful feature for implementing sophisticated Role-Based Access Control (RBAC) [1, 2].

The key is to understand that Supabase's built-in auth.uid() function and authenticated role are tied to the user's session. To use custom roles, you need to store this role information and make it accessible to your RLS policies.

Supabase vendor-lock

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

There is minimal vendor lock-in with Supabase. The platform is designed to be as open as possible, leveraging established, open-source technologies. This makes it relatively easy to migrate away from their managed service if needed.

Integrate the Supabase

· 7 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Supabase is built on a standard PostgreSQL database, giving you the flexibility to interact with it using various tools and methods. This guide explores how to integrate with Supabase, extend its functionality, and choose the right method for different tasks.

Supabase version control

· 9 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Building robust applications requires more than just a functional database; it requires a disciplined approach to managing changes, testing, and deployment. This guide will focus on the DevOps side of Supabase, explaining how to handle database migrations, integrate with CI/CD pipelines, and manage test data.