Code Monkey home page Code Monkey logo

c2ladders's Introduction

C2 Ladders

C2Ladders is rating wise list of Codeforces problems which were solved by many people who have had stable rating increase. It's a reconstruction of old a2oj Ladders with new and updated problemset.

It's live at: https://c2-ladders-juol.onrender.com

Script for creation of ladders is available here: https://github.com/prince776/scripts-yt/tree/master/ladder

How to build

To build this, you have to worry about backend/ and frontend/ folders only, the files outside are mainly concerned with deployment on azure. I've also created a staging database which you can use while development.

Credentials are open, please don't misuse (it has incomplete data):

username = test

password = 0XP0V69Lvhwu9wbo

Backend

Inside backend/ folder

In src/index.ts: Change the mongoose.connect line to: (keep this change locally only)

mongoose.connect(`mongodb+srv://${db.user}:${db.pass}@cluster0.robkk.mongodb.net/test?retryWrites=true&w=majority`);

Then to build and run:

$ npm install
$ DB_USER=test DB_PASS=0XP0V69Lvhwu9wbo npm run dev

Frontend

Inside frontend/ folder

To build and run:

$ npm install
$ npm start

Deployment

In the main dir:

npm run build
npm run start # and specify all env variables mentioned in .env

BASE_URL env var is to specify the base address of the url the website will be hosted at.

c2ladders's People

Contributors

abhijeet145 avatar prince776 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

c2ladders's Issues

feat: Save the CF username once user enters

Could you save the CF username once the user enters it?
Maybe you can store the username inside of localStorage and whenever user refreshes the website the username persists.

C2LADDERS is not working

Currently the website c2ladders is not working. Whenever I try to connect to c2ladders it gives some dns error. Why website is not working is it under maintenance??

One Improvement about ratings and tags

when we click on any ratings and if we had an option that we can get problems based on tags so that users can prepare topic wise it will be a good improvement
image
like if we can have the list as shown in the above.
I personally felt that c2 ladders was very helpful and if we can get this somehow it will be more useful to the users.
I did some work and its working fine I can help and contribute to this feature if it suits you.

User Handle Error

When I try to search by putting CF username, I get some error.
I am attaching a screenshot for reference.
This error occurred today, yesterday everything was working fine.
image

Website not loading

Sometimes the website just doesn't load and when it does I just can't select a problem rating because it gets stuck.

Readme.md Update Needed!

Hey,
I was going through the repo and I wasn't able to figure out how to run the site locally in my system ( I wanted to contribute to the frontend part). The readme must be updated and at least "How to deploy the app locally" must be added for contributors to start contributing.
PS: The website is really awesome ๐Ÿ”ฅ

User Handle

When trying to search for a user, it is unable to fetch the input (username) entered or even if it fetches it takes too long to return the result

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.