- Clone the repository
- Run
yarn
to install dependencies - Create
.env.local
file in the root and add the following fromapp.supabase.io
dashboard app settings.
NEXT_PUBLIC_SUPABASE_URL=<YOUR_SUPABASE_URL>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<YOUR_ANON_KEY>
- Run
yarn dev
and see the project running onlocalhost:3000
utils/supabaseClient.js
initializes a supabase client from the supabase url and anon key. It exports the client to be used in further pages/components
contains React Components to render/pages/index.js
is the starting point of the app.
Feel free to use Next.js Features, add dependencies and refactor based on the use-case.