A minimal chat platform template. It uses Fresh + Supabase + twind + BroadcastChannel API on Deno Deploy.
To get started, setup your .env with Supabase and Github OAuth credentials:
cp .env.example .env
To setup a Github OAuth App
- Go to https://github.com/settings/applications/new
- Set
Application nametoDeploy Chat Example - Set
Homepage URLto your Deno Deploy project URL. (eg:chat-app-example.deno.dev) - Set
Authorization callback URLtohttp://chat-app-example.deno.devor localhost for development. - Add
Client IDandClient Secretin the.envfile.
Create a Supabase project
- Go to app.supabase.io
- Click on "New Project".
- Enter project details and wait for the database to launch.
- Grab the URL and anon key and DB from and add them to the
.envfile.
and fire up the server:
deno task start
