Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
# NEXT_PUBLIC_FIREBASE_APP_ID=your_appId
# FIREBASE_SERVICE_ACCOUNT_KEY=your_serviceAccountKey
NEXT_PUBLIC_SUPABASE_URL=http://localhost:1234
NEXT_PUBLIC_SUPABASE_ANON_KEY=local-testing-key
NEXT_PUBLIC_SUPABASE_ANON_KEY=local-testing-key
SUPABASE_SERVICE_ROLE_KEY=local-testing-service-role-key
GEMINI_API_KEY=your_api_key_here
7 changes: 6 additions & 1 deletion CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_SITE_SALT=
SUPABASE_SERVICE_ROLE_KEY=
GEMINI_API_KEY=
```

1. NEXT_PUBLIC_SUPABASE_URL
Expand All @@ -54,13 +55,17 @@ This is the service_role key ( never expose on frontend).Found in Supabase Dashb

4. NEXT_PUBLIC_SITE_SALT

This one is not provided by Supabase. Its usually a random string (for hashing, encryption, or unique IDs).
This one is not provided by Supabase. It's usually a random string (for hashing, encryption, or unique IDs).

run on bash
``` bash
openssl rand -base64 32
```

5. GEMINI_API_KEY

This is your Google Gemini API key for AI-powered course summaries. Get it from [Google AI Studio](https://makersuite.google.com/app/apikey). This key is used server-side only and should never be exposed to the frontend.

### 5. Run Development Server
```bash
npm run dev
Expand Down
Loading