The site is available at https://leetcode-predictor.vercel.app/
Go check it out !!!
It takes about 4-5 days for leetcode to update the contest ratings of participants. So you have to wait for a long time to know your rating changes. This application predicts accurate leetcode rating changes for all the contestants within a few minutes of completion of the contest.
This project is written in MERN stack. It used C++ addon to calculate ratings based on ELO rating mechanism. You can check it out here [https://leetcode.com/discuss/general-discussion/468851/New-Contest-Rating-Algorithm-(Coming-Soon)]
- MongoDB: NoSQL database
- Node.js: open-source, cross-platform JavaScript runtime environment
- Express : Node.js framework
- C++ addon : core prediction algorithm implementation and acceleration
- Bottleneck : lightweight and zero-dependency Task Scheduler and Rate Limiter for Node.js and the browser
- Node-cache : A simple tool for caching data.
- Axios : To make API calls.
- React: most popular front-end library
- TailwindCSS : modern CSS framework and its component library
Follow these steps to run the app locally.
Delete the build folder before proceeding.
git clone https://github.com/Midas847/LeetCode-Predictor.git
cd Rating_Algorithm
npm i -g node-gyp
node-gyp configure
node-gyp build
git clone https://github.com/Midas847/LeetCode-Predictor.git
cd api
npm install
npm start
git clone https://github.com/Midas847/LeetCode-Predictor.git
cd client
npm install
npm start
MONGODB_URL: your mongodb collection URL
Implement job scheduling