DEV Community

Mahdi BEN RHOUMA profile picture

Mahdi BEN RHOUMA

404 bio not found

Joined Joined on 
Prisma: Can't reach database server at database:5432 on M1

Prisma: Can't reach database server at database:5432 on M1

Comments
7 min read

Want to connect with Mahdi BEN RHOUMA?

Create an account to connect with Mahdi BEN RHOUMA. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Why useEffect runs twice in Next.js dev

Why useEffect runs twice in Next.js dev

Comments
3 min read
Extract date (yyyy/mm/dd) from a timestamp in PostgreSQL

Extract date (yyyy/mm/dd) from a timestamp in PostgreSQL

Comments
5 min read
Zero-Downtime Supabase Migrations: Expand/Contract (2026)

Zero-Downtime Supabase Migrations: Expand/Contract (2026)

Comments
14 min read
Window is not defined in Next.js – 2026 Fix for React Apps

Window is not defined in Next.js – 2026 Fix for React Apps

Comments
6 min read
Fix useEffect Running Twice in React 18 — Strict Mode

Fix useEffect Running Twice in React 18 — Strict Mode

Comments
6 min read
Which version of PostgreSQL am I running? 3 ways to check

Which version of PostgreSQL am I running? 3 ways to check

Comments
6 min read
NextJS Warning: Extra attributes from the server – Fix 2026

NextJS Warning: Extra attributes from the server – Fix 2026

Comments
6 min read
TypeScript 6.0 Migration: What Actually Breaks in Next.js/Supabase

TypeScript 6.0 Migration: What Actually Breaks in Next.js/Supabase

Comments
3 min read
Fix An index signature parameter type cannot be a union

Fix An index signature parameter type cannot be a union

Comments
7 min read
TypeError cookies() crash in Next.js route handler

TypeError cookies() crash in Next.js route handler

Comments
6 min read
Supabase bucket RLS policy for table objects fix

Supabase bucket RLS policy for table objects fix

Comments
5 min read
Does Supabase service_role Bypass RLS? Yes — Use It Safely

Does Supabase service_role Bypass RLS? Yes — Use It Safely

Comments
10 min read
Supabase RLS Policy Not Working: 2026 Debug Checklist

Supabase RLS Policy Not Working: 2026 Debug Checklist

Comments
9 min read
Fix Missing Headers in PostgreSQL CSV Export (2026)

Fix Missing Headers in PostgreSQL CSV Export (2026)

Comments
7 min read
Fix Supabase RLS Infinite Recursion (Production 2026)

Fix Supabase RLS Infinite Recursion (Production 2026)

Comments
5 min read
Supabase Realtime Not Receiving Events: Complete Fix

Supabase Realtime Not Receiving Events: Complete Fix

Comments
6 min read
Supabase + Google OAuth on Next.js 15: Working Guide (2026)

Supabase + Google OAuth on Next.js 15: Working Guide (2026)

Comments
8 min read
Supabase Edge Function BOOT_ERROR: Fix "Failed to Bootstrap"

Supabase Edge Function BOOT_ERROR: Fix "Failed to Bootstrap"

Comments
3 min read
Supabase 42501 Permission Denied: Schema public & auth

Supabase 42501 Permission Denied: Schema public & auth

Comments
5 min read
Postgres INSERT If Not Exists: Fix Duplicate Key Violations

Postgres INSERT If Not Exists: Fix Duplicate Key Violations

Comments
7 min read
Supabase "__cf_bm" Cookie Rejected for Invalid Domain: Fix

Supabase "__cf_bm" Cookie Rejected for Invalid Domain: Fix

Comments
8 min read
Supabase Auth vs Clerk in 2026: The Production Verdict

Supabase Auth vs Clerk in 2026: The Production Verdict

Comments
6 min read
11 Supabase Auth Lessons From a Year in Production

11 Supabase Auth Lessons From a Year in Production

Comments
7 min read
Supabase Authentication with Next.js 15 Complete Guide

Supabase Authentication with Next.js 15 Complete Guide

Comments
18 min read
Supabase Auth Error Codes: Fixes + TS Cheat Sheet (2026)

Supabase Auth Error Codes: Fixes + TS Cheat Sheet (2026)

Comments
6 min read
Supabase Auth + Middleware: Session Guide for Next.js 15

Supabase Auth + Middleware: Session Guide for Next.js 15

Comments
11 min read
Stripe Webhook Signature Verification Failed in Next.js

Stripe Webhook Signature Verification Failed in Next.js

Comments
8 min read
Self-Hosted Plausible vs GA4: GDPR by Default (2026)

Self-Hosted Plausible vs GA4: GDPR by Default (2026)

Comments
6 min read
Scaling Next.js + Supabase: 0 to 100K Users Playbook

Scaling Next.js + Supabase: 0 to 100K Users Playbook

Comments
13 min read
Scaleway vs AWS S3: EU Pricing & Data Residency 2026

Scaleway vs AWS S3: EU Pricing & Data Residency 2026

Comments
6 min read
Fix React 18 Hydration Mismatch in Next.js

Fix React 18 Hydration Mismatch in Next.js

Comments
5 min read
Production RAG with Supabase pgvector and Next.js

Production RAG with Supabase pgvector and Next.js

Comments
15 min read
Fix: Peer Authentication Failed for User "postgres"

Fix: Peer Authentication Failed for User "postgres"

Comments
4 min read
How to Get Enums in Prisma Client: Import, Query

How to Get Enums in Prisma Client: Import, Query

Comments
6 min read
PostgreSQL DESCRIBE TABLE: The psql \d Equivalent

PostgreSQL DESCRIBE TABLE: The psql \d Equivalent

Comments
3 min read
Fix "Parsing error: Cannot find module next/babel"

Fix "Parsing error: Cannot find module next/babel"

Comments
5 min read
TypeScript in 2026: Install & Configure with Node.js 20+

TypeScript in 2026: Install & Configure with Node.js 20+

Comments
3 min read
Build a Real-Time Chat App: Next.js + Supabase Production

Build a Real-Time Chat App: Next.js + Supabase Production

Comments
8 min read
Next.js + Supabase Production Launch Checklist (47 Items)

Next.js + Supabase Production Launch Checklist (47 Items)

Comments
11 min read
Next.js Stale Data: How I Fixed Cache Revalidation

Next.js Stale Data: How I Fixed Cache Revalidation

Comments
9 min read
Fix Next.js revalidatePath Not Working in Server Actions

Fix Next.js revalidatePath Not Working in Server Actions

Comments
6 min read
Fix: react-dom/server Import Error in Next.js App Router

Fix: react-dom/server Import Error in Next.js App Router

Comments
8 min read
Firebase webframeworks Not Enabled in GitHub Actions: Fix

Firebase webframeworks Not Enabled in GitHub Actions: Fix

Comments
8 min read
n8n Microsoft OAuth2: Fix 'Need Admin Approval'

n8n Microsoft OAuth2: Fix 'Need Admin Approval'

Comments
9 min read
Fix "Default condition should be last one" (Firebase)

Fix "Default condition should be last one" (Firebase)

Comments
8 min read
Firebase Auth IDBDatabase Transaction Error: 2026 Fix

Firebase Auth IDBDatabase Transaction Error: 2026 Fix

Comments
9 min read
How to Exit psql: \q, exit, quit and Ctrl+D

How to Exit psql: \q, exit, quit and Ctrl+D

Comments
5 min read
Next.js Redirect from / to another page

Next.js Redirect from / to another page

Comments
3 min read
Next.js Performance Optimization for Indie Developers

Next.js Performance Optimization for Indie Developers

Comments
9 min read
Next.js Pages to App Router Migration Gotchas

Next.js Pages to App Router Migration Gotchas

Comments
7 min read
Next.js Middleware Not Running on Vercel: 3 Causes

Next.js Middleware Not Running on Vercel: 3 Causes

Comments
6 min read
I Tanked My Core Web Vitals Score With Next.js Images

I Tanked My Core Web Vitals Score With Next.js Images

Comments
7 min read
Next.js Build Passed But Production Broke

Next.js Build Passed But Production Broke

Comments
5 min read
Clerk vs Better Auth vs Supabase: Next.js Auth in 2026

Clerk vs Better Auth vs Supabase: Next.js Auth in 2026

Comments
16 min read
Next.js 16 "use cache" Errors: Why Cache Components Break

Next.js 16 "use cache" Errors: Why Cache Components Break

Comments
4 min read
Next.js 16 /_not-found Prerender Build Error: The Real Fix

Next.js 16 /_not-found Prerender Build Error: The Real Fix

Comments
4 min read
Next.js 15 Partial Prerendering: Guide

Next.js 15 Partial Prerendering: Guide

Comments
10 min read
Fix 'Next.js 15 requires Node.js 18.18' Build Error

Fix 'Next.js 15 requires Node.js 18.18' Build Error

Comments
5 min read
Force tsc to Ignore node_modules: Fix TS Errors

Force tsc to Ignore node_modules: Fix TS Errors

Comments
6 min read
loading...