SysSn13 / leetcode-rating-predictor

Leetcode Rating Predictor built with Node. Browser extension and web interface.
https://lcpredictor.onrender.com/
MIT License
530 stars 54 forks source link

Do not load all the contests metadata on home page #52

Open SysSn13 opened 1 year ago

SysSn13 commented 1 year ago

Currently, all the contests are being fetched In the contests table, and pagination is added to the fetched data. It would be better to fetch only one table page at a time. It will help to reduce the server-load and load the home page faster.

To achieve this, we can introduce API endpoints for the contest's metadata and use it in the front end. I'm not sure if can integrate API with data tables. If API integration is not possible, then we can go with custom pagination implementation.

amitpant14 commented 1 year ago

Hi @SysSn13, I would like to work on this if no one is working on it currently.