-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Codeforces and Atcoder Profiles #10
base: main
Are you sure you want to change the base?
Conversation
Don't use api everytime once user enters the handle fetch that time and reuse that data everytime to show at profile (also allow user to rechange the handle and fetch that time) Current Profile isn't good, it's a medium level issue show some creativity. (Refer Codeforces official Profile or other OJ profiles) Also Profile should be same and is divided by OJs (Cf and Atcoder) maybe u can display them in a single page maybe vertically division would help! |
sir im not able to retrieve data from database it is giving some errors. |
can you describe the errors? (or share some screenshots) |
|
don't fetch the data from cookie (that is actually a temp storage for the current session) instead fetch it from the db (postgresql) |
ok |
I have made functionality to retrieve data from database if it exists otherwise fetch from api and store in database |
okay will check! |
@dhanrajchaurasia sir you need to download emoji dependency |
@sharmavasant I have tried running it locally but data is fetching on inputting right? it shouldn't have been like that as I said earlier you should show the old stored profile until he changes the handle, haven't you done anything about that? also why I am seeing two input tags for each platform? and the details are not even in the ordered format. |
@dhanrajchaurasia this is screenshot where it decides whether to choose data from database or api |
@dhanrajchaurasia
Description
Added Codeforces and Atcoder profiles and stored profile data in postgresql database.
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Made profile page and added codeforces and atcoder profiles.
Stored data without redundancy in database.
Downloaded Emoji dependency for profile page.
Related Issue
Fixes # issue
Type of change
Motivation and Context
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Profiles can be seen by entering codeforces handle or atcoder handle and respective email associated with the account.
These data will be stored in database.
Screenshots (if appropriate):
CP-Grind2.mp4
Checklist:
Test Configuration: