Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.51 KB

File metadata and controls

33 lines (24 loc) · 1.51 KB

Animehaven

Animehaven provides an interface for viewing information on animes, creating and sharing lists of different animes, having discussions with other users, etc.

image

Local Setup

Follow the official guide on how to setup a local instance of Supabase.
Create an OAuth Client using this guide, you'll need the client id and secret.

Environment Variables

Create a .env.local file and store the following environment variables
NEXT_PUBLIC_SUPABASE_URL - REST API client URL provided by Supabase
NEXT_PUBLIC_SUPABASE_ANON_KEY - Private key provided by Supabase
NEXT_PUBLIC_SITE_URL - URL of the development server (e.g localhost:3000)
SUPABASE_AUTH_EXTERNAL_GOOGLE_CLIENT_ID - Google OAuth client id
SUPABASE_AUTH_EXTERNAL_GOOGLE_SECRET - Google OAuth secret

Run the npx supabase start command to start the local supabase instance (Docker should be running)
Run the npm run dev command to start the local development server

Tech Stack