Skip to content

slipHQ/truthy.so

Repository files navigation

truthy.so

A coding quiz builder

Truthy

Local Development

Create a Supabase account.

Apply the script from schema.sql to your Supabase database. You can copy and paste the schema into the sql editor and run it.

You can find your Supabase credentials in the /settings/api section of your Supabase dashboard.

Create a .env file with the following contents, using your Supabase credentials:

NEXT_PUBLIC_SUPABASE_ANON_KEY=<Your Supabase ANON KEY>
NEXT_PUBLIC_HOME_URL=http://localhost:3000>
NEXT_PUBLIC_SUPABASE_URL=<Your Supabase URL>

Setup twitter auth for your supabase account by following this guide

Run yarn dev to start the development server.