DevSync is a full-stack MERN application designed to help developers track, visualize, and compare their coding activity and problem-solving progress. It combines coding metrics, activity analytics, leaderboards, and performance insights into a modern and intuitive dashboard.
- Secure user authentication with JWT
- Developer activity tracking
- Coding statistics dashboard
- LeetCode-style progress monitoring
- Activity heatmap visualization
- Developer leaderboard and rankings
- Responsive and modern user interface
- Real-time analytics and performance insights
- React
- Vite
- Tailwind CSS
- Framer Motion
- Recharts
- React Router
- Axios
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT Authentication
- bcrypt
DevSync/
├── client/ # React frontend
├── server/ # Express backend
└── README.md
- Node.js
- npm
- MongoDB
Clone the repository:
git clone https://github.com/your-username/devsync.git
cd devsyncInstall frontend dependencies:
cd client
npm installInstall backend dependencies:
cd ../server
npm installCreate a .env file inside the server directory:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
CLIENT_URL=http://localhost:5173Create a .env file inside the client directory:
VITE_API_BASE_URL=http://localhost:5000/apiBackend:
cd server
npm run devFrontend:
cd client
npm run dev- User registration and login
- Password hashing using bcrypt
- JWT-based authorization
- Protected API routes
- Coding activity overview
- Performance statistics
- Submission heatmaps
- Productivity insights
- Developer rankings
- Score aggregation
- Comparative performance metrics
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register |
Register a new user |
| POST | /api/auth/login |
Authenticate user |
| GET | /api/user/profile |
Get user profile |
| GET | /api/user/stats |
Get user statistics |
| GET | /api/activity |
Fetch activity records |
| GET | /api/leaderboard |
Fetch leaderboard data |
- Passwords are securely hashed before storage
- JWT-based authentication and authorization
- Protected backend routes
- Environment-based configuration management
- Secure API communication practices
- GitHub integration
- LeetCode API synchronization
- Social authentication
- Profile customization
- Real-time notifications
- Advanced analytics
Contributions are welcome. Feel free to fork the repository, create a feature branch, and submit a pull request.
This project is licensed under the MIT License.