Skip to content

Commit 90a73af

Browse files
authored
Merge branch 'main' into docs/add-rate-limit-comments-93
2 parents dad4934 + 1b5e869 commit 90a73af

420 files changed

Lines changed: 67956 additions & 14167 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
node_modules
2+
.next
3+
out
4+
dist
5+
coverage
6+
test-results
7+
8+
.git
9+
.github
10+
11+
.env
12+
.env.*
13+
14+
npm-debug.log*
15+
*.log
16+
17+
.DS_Store
18+
Thumbs.db
19+
desktop.ini
20+
21+
.vscode
22+
.idea
23+
*.swp
24+
25+
.vercel
26+
.claude
27+
28+
docs
29+
e2e
30+
test

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{json,yml}]
12+
indent_size = 2

.env.example

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -------------------------------------------------------
22
# Supabase
33
# Project Settings → API → Project URL
4-
NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co
4+
NEXT_PUBLIC_SUPABASE_URL=https://<project-ref>.supabase.co
55

66
# Project Settings → API → anon / public key
77
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
@@ -11,9 +11,17 @@ SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
1111

1212
# -------------------------------------------------------
1313
# NextAuth
14-
# The URL your app is running on
14+
# MUST match the deployed origin exactly (no trailing slash).
15+
# Local: http://localhost:3000
16+
# Production: https://devtrack-delta.vercel.app (set this in Vercel env vars)
17+
# Wrong value causes OAuth callback URL mismatch → error=github on sign-in.
1518
NEXTAUTH_URL=http://localhost:3000
1619

20+
# Public app URL (optional — only needed if your deployment platform sets
21+
# NEXTAUTH_URL to something other than the canonical public origin).
22+
# Must not have a trailing slash.
23+
# NEXT_PUBLIC_APP_URL=https://devtrack-delta.vercel.app
24+
1725
# Generate with: openssl rand -base64 32
1826
NEXTAUTH_SECRET=your_nextauth_secret
1927

@@ -52,4 +60,18 @@ UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token
5260
# AI Mentor widget). Without this key the widget still works and shows
5361
# rule-based insights only.
5462
# console.anthropic.com → API Keys
55-
ANTHROPIC_API_KEY=sk-ant-...
63+
# ANTHROPIC_API_KEY=sk-ant-...
64+
65+
# -------------------------------------------------------
66+
# Groq API Key (optional — enables AI-generated weekly summaries in the
67+
# AI Mentor widget using Llama-3).
68+
# console.groq.com → API Keys
69+
GROQ_API_KEY=your_groq_api_key
70+
71+
# -------------------------------------------------------
72+
# Leaderboard Configuration
73+
# Controls concurrent user fetches during leaderboard builds
74+
# Safe range: 1-100 (default: 5)
75+
# Higher values = faster builds but more resource usage
76+
# WARNING: Do not exceed 100 without load testing — risks memory exhaustion
77+
LEADERBOARD_USER_CONCURRENCY=5

.eslintrc.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"extends": "next/core-web-vitals",
3-
"rules": {
4-
"react/jsx-no-target-blank": "error"
5-
}
2+
"extends": ["next/core-web-vitals"]
63
}

.github/FUNDING.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Support DevTrack Development
2+
# Your sponsorship helps us maintain and improve this open-source project
3+
4+
# GitHub Sponsors - Direct monthly support
5+
github: Priyanshu-byte-coder
6+
7+
# Open Collective - Community funding platform
8+
open_collective: devtrack
9+
10+
# Buy Me a Coffee - One-time or recurring support
11+
buy_me_a_coffee: priyanshu_byte
12+
13+
# Ko-fi - Simple and transparent sponsorship
14+
ko_fi: priyanshu_byte
15+
16+
# Custom donation link (Stripe, PayPal, etc. can be configured)
17+
custom: ["https://paypal.me/priyanshu_byte"]
Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
11
---
2-
name: Bug Report
3-
about: Something is broken
4-
title: "[BUG] "
5-
labels: bug, needs-triage
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: bug
66
assignees: ''
77
---
88

9-
## Describe the Bug
10-
9+
**Describe the bug**
1110
A clear description of what the bug is.
12-
13-
## Steps to Reproduce
14-
15-
1. Go to '...'
16-
2. Click on '...'
17-
3. See error
18-
19-
## Expected Behavior
20-
21-
What you expected to happen.
22-
23-
## Screenshots / Logs
24-
25-
If applicable, add screenshots or paste error logs here.
26-
27-
## Environment
28-
29-
- OS: [e.g. macOS 14, Ubuntu 22.04]
30-
- Node version: [e.g. 18.17.0]
31-
- Browser: [e.g. Chrome 120]
32-
33-
## Additional Context
34-
35-
Any other context about the problem.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true
Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,10 @@
11
---
2-
name: Feature Request
3-
about: Suggest a new feature or improvement
4-
title: "[FEAT] "
5-
labels: enhancement, needs-triage
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: enhancement
66
assignees: ''
77
---
88

9-
## Problem Statement
10-
11-
What problem does this feature solve? Who is affected?
12-
13-
## Proposed Solution
14-
15-
Describe what you'd like to see implemented.
16-
17-
## Alternatives Considered
18-
19-
Any other approaches you considered and why you ruled them out.
20-
21-
## Acceptance Criteria
22-
23-
- [ ] ...
24-
- [ ] ...
25-
26-
## Additional Context
27-
28-
Screenshots, mockups, or links to similar implementations.
9+
**Is your feature request related to a problem?**
10+
A clear description of the problem.

.github/SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Security Policy
2+
3+
Standard responsible vulnerability disclosure policy for DevTrack.

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
day: monday
8+
open-pull-requests-limit: 5
9+
labels:
10+
- type:devops
11+
- level:beginner
12+
ignore:
13+
- dependency-name: "*"
14+
update-types: ["version-update:semver-major"]

0 commit comments

Comments
 (0)