Skip to content

feat: Add GitHub Profile integration with frontend and backend - #129

Closed
AvaneeshKesavan wants to merge 8 commits into
DevSyncx:mainfrom
AvaneeshKesavan:github-profile-integration
Closed

AvaneeshKesavan wants to merge 8 commits into
DevSyncx:mainfrom
AvaneeshKesavan:github-profile-integration

Conversation

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor

Feature: GitHub Profile Info Integration

🧠 Description

This PR implements the GitHub Profile Integration feature.
Users can now add their GitHub username in their profile, and instead of redirecting to GitHub, a dedicated internal profile info page displays their GitHub data.

Features added:

  • Backend route to fetch GitHub user data (avatar, bio, followers, top repos, contributions).
  • Frontend components GitHubProfile and GitHubCard.
  • Dashboard updates to link to the internal GitHub profile page.
  • Styled using Tailwind CSS with simple Card UI.

✅ Type of Change

  • 🐞 Bug fix
  • 💡 Feature
  • 🧹 Code cleanup/refactor
  • 🧪 Test cases
  • 📚 Docs update

📝 Additional Notes (Optional)

  • The backend route for fetching GitHub data is ready, but ensure node-fetch or fetch setup is correct in your environment.
  • The PR assumes proper routing and authentication in the main app; test with a valid GitHub username.

@vercel

vercel Bot commented Sep 19, 2025

Copy link
Copy Markdown

@AvaneeshKesavan is attempting to deploy a commit to the Annanya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

🙌 Thanks @AvaneeshKesavan for raising this PR!
Our team will review it soon ⏳ — meanwhile, please make sure your PR follows our contributing guidelines 👉 Contributing Guidelines 🎉

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan share screenshots of ui.

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor Author

Screenshot 2025-09-20 122016

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan, the contribution heatmap and language isn't displaying. look into that and fix it Ensure all GitHub profile details are being fetched.

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor Author

Following up on my pr. Please let me know if any changes are required.

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan did u make changes which I mentioned?

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor Author

yes and i commited it also
fc47926

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor Author

For the Dashboard UI/UX Improvements some of these newly created files need to be merged so can you check on this please

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator
Screenshot 2025-09-27 002146 Screenshot 2025-09-27 002058

getting this !! kindly check into it .
Ensure the flow is: GitHub URL added in profile -> Dashboard updates and displays the profile in a GitHub card -> Clicking the GitHub card opens the full profile page.

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

please

Okay then i can merge this but ensure in the ui/ux improvement dashboard's PR everything should be working fine as per suggested flow.

@Annanyatiwary4

Annanyatiwary4 commented Sep 27, 2025

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan though this pr isn't working . its still throwing error . are you using personal access token to fetch details
?

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan is it fixed?

@AvaneeshKesavan

Copy link
Copy Markdown
Contributor Author

@AvaneeshKesavan though this pr isn't working . its still throwing error . are you using personal access token to fetch details ?

Yes, this uses the GitHub GraphQL API and requires a Personal Access Token.
The route is already set up to read it from process.env.GITHUB_TOKEN, so the token just needs to be added in the backend environment in .env file. Without that, the API will throw errors.

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator
image

check this

@Annanyatiwary4

Copy link
Copy Markdown
Collaborator

@AvaneeshKesavan dm me on discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: GitHub Profile Info Integration

2 participants