Skip to content
Merged
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
27 changes: 27 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,33 @@ RAZORPAY_SECRET_KEY=your_razorpay_secret_here
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your-gemini-api-key-here

# ── App ───────────────────────────────────────────────────────
# Your deployed URL (no trailing slash)
# Development: http://localhost:3000
# Production: https://yourdomain.com
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co

# Anon/public key (safe to expose to client)
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here

# Service role key β€” NEVER expose to client, server-side only
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here

# ── Razorpay ──────────────────────────────────────────────────
# Found in: Razorpay Dashboard β†’ Settings β†’ API Keys
# Use TEST keys during development

# Test key ID (starts with rzp_test_)
RAZORPAY_KEY_ID=rzp_test_your_key_id_here

# Secret key β€” server-side only, NEVER expose to client
RAZORPAY_SECRET_KEY=your_razorpay_secret_here

# ── Google AI (Gemini) ────────────────────────────────────────
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your-gemini-api-key-here

# ── App ───────────────────────────────────────────────────────
# Your deployed URL (no trailing slash)
# Development: http://localhost:3000
Expand Down
1 change: 0 additions & 1 deletion components/dashboard/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const navItems = [
{ icon: Network, label: "Concept Map",href: "/concept-map", guestOk: false },
{ icon: Calendar, label: "Planner", href: "/planner", guestOk: false },
{ icon: Sparkles, label: "Topic Analyzer", href: "/topic-analyzer", guestOk: false },
{ icon: Trophy, label: "Goals & Badges", href: "/goals", guestOk: false },
{ icon: BookOpen, label: "Blogs", href: "/blogs", external: true, guestOk: true },
]

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.