Skip to content

yongzhenlow/nextjs-supabase-chatapp

Repository files navigation

Ghost Next JS Supabase

NextJS + Supabase Chat App

Demo app created for the article Building a Chat App with NextJS + Supabase.

Setup env

Create a file .env.local with your Supabase API credentials. See article above for the steps on how to setup the database schema for your Supabase project.

NEXT_PUBLIC_SUPABASE_URL=example_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=example_supabase_anonkey

Development

yarn dev

Open http://localhost:3000 with your browser to see the result.