Skip to content

moaqz/supagym

Repository files navigation

Stack

How to run it locally

Important

You will need Docker and the Supabase CLI installed.

  1. Clone the repository:
git clone git@github.com:moaqz/supagym.git
  1. Install the dependencies:
pnpm i
  1. Start the supabase server:
supabase start
  1. Create an .env file with the following variables provided by the Supabase CLI.
DATABASE_URL=
PUBLIC_SUPABASE_ANON_KEY=
PUBLIC_SUPABASE_URL=
  1. Create an OAuth client using the callback URL as ${YOUR_PUBLIC_SUPABASE_URL}/auth/v1/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=

Note

You can choose either the GitHub or Google OAuth client (or both if desired). Only one OAuth client is required to run the app.

Deploy on Vercel