-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Backend implementation for challenges #836
Comments
Hello @pranshugupta54! 🌟 Don't forget to hit the ⭐ star button 😉 Tip Don't forget to check our Contributing Guidelines, PR Guidelines and Issue Guidelines for more details. |
what platforms challenges should be added ? i'd like to work on this issue |
Hey @Aadithya-J, we're only adding Tublian and Quine Quests for now. Let me know when you are able to setup the project locally. This needs to be implemented very similar to Contests. |
Hey, i have setup the project locally. If you assign it to me i'll start working on it. Also running lint seems to have made changes in 22 files (just spacing and empty line fixes) should i just commit with the corrections or leave it as it is |
Leave the lint part for this issue, we can take it separately. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
@pranshugupta54 i tried working on this but it seems like both tublian and quine quests do not have an ap and also render content dynamically so it cant be extracted using cheerio. I can use puppeteer or other similar browser automation libraries but they are too heavy weight. Should i use it or is there any other alternative ? |
@Aadithya-J, check their Network inside inspect. They do use APIs to fetch the data dynamically |
@pranshugupta54 yes i tried that but when i try to access it shows either "This http request method is not supported for this endpoint." or "unauthorized" |
@Aadithya-J, explore the network more - they have other API calls for it. You're either not using the method properly. |
@pranshugupta54 Ok i have found the api call to fetch it for quine quests and made it work , but im not sure how to do it for tublian i have checked all the requests in network its not working. i'll work on only quine quests for now. will be completed in a few days |
Is your feature request related to a problem? Please describe.
Currently challenges are directly shown on the frontend.
Describe the solution you'd like
Make proper routes and fetching for challenges just like contests.
Alternatives
No response
Additional Context
No response
Are you interested in contributing?
Code of Conduct
Which program are you contributing in?
gssoc, swoc, kwoc, dwoc, tublian
The text was updated successfully, but these errors were encountered: