Option 1: Supabase (Recommended, Free Cloud Postgres)

  1. Go to Supabase and create a new project.
  2. Copy your database connection string (Session Pooler) from Project Settings → Database.
  3. Paste it into your .env file as DATABASE_URL.

Option 2: Local Postgres

  1. Install Postgres
  2. Create a database:
    createdb my_cms
    
  3. Update .env:
    DATABASE_URL=postgresql://postgres:yourpassword@localhost:5432/my_cms
    

Next Steps