Skip to content

Leaderboard that scrapes data from other programming platforms πŸ₯‡

Notifications You must be signed in to change notification settings

sunidhisachan/Leaderboard-Pro

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to the Leaderboard project πŸ‘‹

πŸ€” Problem

How do people become good at something ? By doing it regularly, right ? That's why this project aims to help all the students in practicing programming regularly by maintaining a leaderboard. The website will be have 6 different leaderboards

✨ Features

  • LeaderBoard Website + Django backend to collect data from different sources( APIs and web scraping )
  • Leaderboard type 1 : Github profile activeness (based on commits/stars etc.)
  • Leaderboard type 2 : OpenLake contributions (based on commits/pull requests etc.)
  • Leaderboard type 3 : Codechef ranking
  • Leaderboard type 4 : Codeforces ranking
  • Leaderboard Type 5 : Leetcode ranking
  • Leaderboard type 6 : Leetcode contest ranking
  • Students can also view the rankings of the latest LeetCode contests, their institute rank and visualise contest performance through graph.
  • Students will get notified(through email) whenever their rank is decreasing (because they aren't active)
  • Our metrics will promote consistent work instead of bulk work at once.
  • Tech Stack : React, Django, PostgreSQL, MongoDB (for Friend's Table)

πŸ“ Setup instructions

  • Install pnpm, To obtain installation instructions for the pnpm package manager on your operating system, please refer to the following link.
  • Install python3.7
    • Ensure that you are in project folder
    • Create a virtual Environment
      python3 -m venv <ENVIRONMENT_NAME>
      
    • Activate the virtual Environment
      source <ENVIRONMENT_NAME>/bin/activate
      
  • Install make
    • For Ubuntu:
      sudo apt update
      sudo apt install make
      
    • For Windows, follow the link
  • Install Redis
    • For Ubuntu, follow the link
    • For Windows, follow the link
  • Replace database credentials
    • Create a new project on Supabase
    • Go to Project Settings > Database
    • Open the project in prefered code-editor
    • Go to Leaderboard-Pro > api > leaderboard > settings.py, scroll down to DATABASES variable and change the NAME, USER, PASSWORD, HOST and PORT as on the Supabase Database page.
  • Run the following commands in the same order:
    make install
    make migrate
    make dev
    
  • Visit http://localhost:8000/ and http://localhost:3000/

πŸ§‘β€πŸ’» Maintainers

πŸ’» Contributing Guidelines

πŸ‘€ Hosted App

https://openlake-leaderboardpro.vercel.app

About

Leaderboard that scrapes data from other programming platforms πŸ₯‡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.9%
  • CSS 28.2%
  • Python 19.3%
  • Other 0.6%