An intelligent backend system that analyzes a developer’s GitHub profile and generates personalized insights, recommendations, and learning suggestions using real-time data.
This project integrates multiple APIs and applies logic to understand a developer’s activity and interests. It then provides smart, personalized recommendations based on:
- GitHub repository analysis
- Activity scoring
- Trending technology news
- User Registration & Login
- JWT-based authentication
- Protected API routes
- Fetch GitHub user data
- Analyze public repositories
- Detect user interest (AI, Web, Data, etc.)
- Interest-based classification using repo names
- Personalized news fetching using News API
- Intelligent recommendation generation
-
Calculates developer level based on:
- Number of repositories
- Number of followers
-
Classifies users as:
- Beginner
- Intermediate
- Advanced
- Stores insights history in MongoDB
- Users can fetch previous insights
-
Backend: Node.js, Express.js
-
Database: MongoDB Atlas
-
Authentication: JWT
-
APIs Used:
- GitHub API
- News API
User Request → GitHub API → Repo Analysis → Interest Detection
→ News API → Activity Scoring → Recommendation Generation → Store in DB
The system analyzes repository names and detects user interest using keyword-based pattern matching:
- "ai", "ml" → Artificial Intelligence
- "web" → Web Development
- "data" → Data Science
POST /api/auth/register
POST /api/auth/login
GET /api/insights?username=<github_username>
Headers:
Authorization: Bearer <token>
GET /api/history
Headers:
Authorization: Bearer <token>
Create a .env file:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
NEWS_API_KEY=your_news_api_key
PORT=5000
.envfile is ignored using.gitignore- Sensitive credentials are not exposed in the repository
git clone <your-repo-url>
cd Dev-Insight-API-Engine
npm install
Create .env file as shown above
npm run dev
- Add frontend dashboard (React)
- Improve interest detection using NLP
- Integrate machine learning model
- Add more GitHub analytics (stars, commits)
- REST API design and development
- JWT authentication and middleware
- MongoDB integration
- External API handling (GitHub + News)
- Building logic-driven systems
- Debugging and real-world problem solving
Developed as part of learning backend development and working with APIs
This project demonstrates how raw data from APIs can be transformed into meaningful, personalized insights using logic and system design.