diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..78e863f --- /dev/null +++ b/.env.example @@ -0,0 +1,20 @@ +# Supabase — create project at supabase.com +NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co +NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... +SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... + +# NextAuth +NEXTAUTH_URL=http://localhost:3000 +NEXTAUTH_SECRET=your_nextauth_secret_min_32_chars + +# GitHub OAuth App — create at github.com/settings/applications/new +GITHUB_ID=your_github_oauth_app_client_id +GITHUB_SECRET=your_github_oauth_app_client_secret +GITLAB_ID=your_gitlab_application_id +GITLAB_SECRET=your_gitlab_application_secret +# Second callback URL to register in your GitHub OAuth App settings: +# {NEXTAUTH_URL}/api/auth/link-github/callback + +# 32-byte hex string for AES-256-GCM token encryption +# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" +ENCRYPTION_KEY= diff --git a/src/app/page.tsx b/src/app/page.tsx index cb51474..e7430ca 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,13 +18,19 @@ export default async function HomePage() { Open-source developer productivity dashboard. Track coding habits, visualize GitHub contributions, and hit your goals.

-
+
Sign in with GitHub + + Sign in with GitLab +