Skip to content

This is the LeetCode Tracker application. It is used to track leetcode 30 days Javascript Questions.

Notifications You must be signed in to change notification settings

code2me/track-leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Track Leetcode

This is the LeetCode Tracker application. It is used to track leetcode 30 days Javascript Questions. It uses Node.js, Express, and MongoDB to store and manage user data and web Scraped LeetCode JavaScript questions from discussion form.

How to use this extension?

Steps To Follow

Steps To Follow

  1. Enter this url : chrome://extensions/ in Chrome Browser and Enable the DEVELOPER MODE
  2. Go to Load unpacked
  3. Go to location where you have cloned the repository and then select the folder named Frontend
  4. The Frontend folder will be loaded and you will see Extension named Track Leetcode

Now, Pin the extension and enjoy easy access to leetcode questions.

Extension

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/code2me/track-leetcode.git
  1. Install dependencies:
cd track-leetcode

npm install
  1. Setup Environment variable in .env and put file in track-leetcode/backend
  • MONGODB_URI: Your MongoDB connection string.

  • PORT: The port on which the server will listen.

  • CORS_PROXY: The URL of a CORS proxy to bypass CORS restrictions.

  • JSON_URL: The URL of the remote JSON file containing JavaScript questions.

  1. Start the server:
npm start

Usage

After starting the server, you can access the API at http://localhost:3000.

API Routes

POST /username: Submit a LeetCode username to fetch user information, store accepted questions, and get the count of accepted JavaScript questions.

GET /jsquestions: Fetch the list of JavaScript questions from a remote JSON file.

Environment Variables

The following environment variables should be set in your .env file:

  • MONGODB_URI: Your MongoDB connection string.

  • PORT: The port on which the server will listen.

  • CORS_PROXY: The URL of a CORS proxy to bypass CORS restrictions.

  • JSON_URL: The URL of the remote JSON file containing JavaScript questions.

License

This project is licensed under the MIT License.

System Architecture

System Architecture

About

This is the LeetCode Tracker application. It is used to track leetcode 30 days Javascript Questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published