Skip to content
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

Open
2 of 3 tasks
pranshugupta54 opened this issue May 11, 2024 · 12 comments
Open
2 of 3 tasks

[Feature]: Backend implementation for challenges #836

pranshugupta54 opened this issue May 11, 2024 · 12 comments
Assignees
Labels
backend Backend related task enhancement New feature or request hard level3

Comments

@pranshugupta54
Copy link
Member

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?

  • I'd like to work on this issue

Code of Conduct

  • I have used the search function to check if an issue already exists
  • I agree to follow this project's Code of Conduct

Which program are you contributing in?

gssoc, swoc, kwoc, dwoc, tublian

Copy link

linear bot commented May 11, 2024

Copy link

Hello @pranshugupta54! 🌟
Thanks a bunch for creating an issue. Your input is invaluable, and we're eager to collaborate with you to address the matter. Keep up the fantastic work!

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.

Website | Discord | Twitter | Instagram | Linkedin

@pranshugupta54 pranshugupta54 added enhancement New feature or request backend Backend related task labels May 11, 2024
@Aadithya-J
Copy link

what platforms challenges should be added ? i'd like to work on this issue

@pranshugupta54
Copy link
Member Author

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.

@Aadithya-J
Copy link

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

@pranshugupta54
Copy link
Member Author

Leave the lint part for this issue, we can take it separately.

Copy link

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.

@Aadithya-J
Copy link

@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 ?

@pranshugupta54
Copy link
Member Author

@Aadithya-J, check their Network inside inspect. They do use APIs to fetch the data dynamically

@Aadithya-J
Copy link

@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"

https://cosmos.quine.sh/api/cosmos/creators/quest/

@pranshugupta54
Copy link
Member Author

@Aadithya-J, explore the network more - they have other API calls for it. You're either not using the method properly.

@Aadithya-J
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related task enhancement New feature or request hard level3
Projects
None yet
Development

No branches or pull requests

2 participants