/Leetcode-leaderboard

A leaderboard platform where users can become members of groups and see their rankings in that group

Primary LanguageTypeScriptMIT LicenseMIT

LeetCode Leaderboard

A Leaderboard for LeetCode made in NextJS!

All you need is a leetcode username and you are good to go!

Features

  1. You can view all available teams from the homepage:

Homepage

  1. You can view all your joined teams under My Teams sections:

My Teams

  1. The leaderboard for the team is displayed when you enter a team:

Team Leaderboard

  1. You can view your own profile and can also change your institution from here:

Profile

  1. As an admin, you can manage the teams and add new teams in add

Admin Panel

Tech Stack:

Frontend:

  • React
  • ChakraUI
  • Framer Motion

Backend:

  • Vercel serverless functions
  • MongoDB

For further development:

Pre-requisites:

  • NodeJS
  • MongoDB
  • Typescript

Required environment variables:

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • MONGO_URI
  • NEXTAUTH_SECRET
  • NEXT_PUBLIC_GA_MEASUREMENT_ID
  • JWT_COOKIE_NAME

Steps to run:

  • Clone the repo
  • Run npm install
  • Run npm run dev