#!/bin/bash
# Script to run Next.js dev server with localhost database connection

# Override DATABASE_URL for localhost and run dev server
# This approach avoids file manipulation and is much cleaner
DATABASE_URL="postgresql://postgres:postgres_password@localhost:5432/magasinetkbh" \
pnpm exec env-cmd -f .env.local next dev
