This repository contains the backend for the Trackcoders project, which provides APIs for managing user authentication, friend tracking, coding progress comparison, and leaderboard features. The backend is built using Node.js, Express, and MongoDB, and integrates web scraping to fetch coding progress from platforms like LeetCode, CodeChef, and GeeksforGeeks.
The frontend for this project is available at: Frontend GitHub Repository
- User authentication (Login, Registration)
- Adding and managing friends
- Fetching and storing solved coding problems from various platforms
- Comparing coding progress with friends
- Leaderboard system
- API endpoints for fetching user and problem data
- Node.js (>= 16.x)
- MongoDB
- Express.js
- PlayWrite
-
Clone the repository:
git clone https://github.com/sidd2512/TrackCoder
-
Install dependencies:
npm install
-
Configure environment variables:
- Create a
.env
file in the root directory. - Add necessary environment variables (MongoDB URL, API keys, etc.).
- Create a
-
Start the server:
npm start
Feel free to open issues or submit pull requests to improve the project.