Skip to content

debug-node/leetcode-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode Metrics

A simple web application to track and display your LeetCode statistics locally.

πŸš€ Project Overview

LeetCode Metrics is a lightweight tool designed to help you understand and track your LeetCode progress.
It demonstrates how to build a small full-stack application using:

  • Frontend: Static HTML, CSS, JavaScript
  • Backend: Node.js server (server.js)
  • Purpose: Learn how data fetching, UI rendering, and simple dashboard logic works

You can extend this project to fetch real LeetCode user data, visualize progress, or create your own coding dashboard.

πŸ“ Folder Structure

leetcode-metrics/
β”‚
β”œβ”€β”€ public/              # Front-end static files
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ style.css
β”‚   β”œβ”€β”€ script.js
β”‚   β”œβ”€β”€ logo.png
β”‚   └── favicon.ico
β”‚
β”œβ”€β”€ server.js            # Node.js backend server
β”œβ”€β”€ package.json         # Project metadata
└── .gitignore           # Git ignore rules (node_modules, env files, etc.)

πŸ”§ Requirements

  • Node.js (v14+ recommended)
  • npm (comes bundled with Node.js)

βš™οΈ Installation & Running Locally

# Clone the repository
git clone https://github.com/debug-node/leetcode-metrics.git
cd leetcode-metrics

# Install dependencies
npm install

# Start the server
npm start

🧠 How It Works

  • server.js creates a simple Node.js server to serve the static frontend files.
  • The public/ folder contains the UI:
    • index.html (structure)
    • style.css (design)
    • script.js (logic)
  • The app can be extended to integrate APIs, visualize real metrics, or add authentication.

πŸ“Œ Future Improvements

Here are some enhancements you can add:

  • Integrate LeetCode APIs or scraping logic to fetch real user data
  • Add charts using Chart.js or D3.js
  • Store data using MongoDB or SQLite
  • Add user authentication
  • Improve UI/UX and make it fully responsive

🀝 Contributions

Feel free to open issues or submit pull requests if you want to improve the project.
Feedback and suggestions are always welcome!

πŸ“„ License

This project is open-source. You are free to use, modify, and distribute it.

πŸ‘€ Author

Aditya Kumar
GitHub: debug-node

β€œCode. Learn. Build. Repeat.” πŸ’»

About

A simple Node.js web app to track and display your LeetCode progress.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published