Inspiration

As CS/DS majors we wanted to find a way to make grinding leetcode a little less boring and stressful. We wanted to create a new more enjoyable way to prepare for technical interviews.

What it does

PeteCode is a site that lets all Purdue students log in and compare leetcode statistics with other students. It offer many different features all accessible through the main page. The all time leaderboard shows how many leetcode problems each user has solved and ranks the users accordingly. Additionally, there is a competition page that times how long it takes the user to complete the leetcode problem of the day. The recommendations page lets users search for leetcode problems by skill level and key words in the different problems. The login system creates an account using a @purdue.edu email address and a leetcode username.

How we built it

We built the website using React for the frontend and Google Firebase for the backend along with some different APIs to access user info from leetcode.

Challenges we ran into

There is no easy-to-use official leetcode API so we had to implement multiple different APIs we found on github repos with minimal documentation to fetch user data. Also, nobody had extensive knowledge on back end development so we had to learn that as we went along.

Accomplishments that we're proud of

Getting the APIs to work along with google firebase. Also, we're really proud of how the website looks.

What we learned

We learned a lot about implementing APIs and different aspects of React. We also learned about interacting with datasets using JavaScript.

What's next for PeteCode

Hopefully the website will become popular and more people will sign up. From there we plan to implement more features such as additional competition features.

Share this project:

Updates