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

[Fullstack]: Implement voting for answers #12

Open
gooddaytoday opened this issue Aug 22, 2020 · 26 comments
Open

[Fullstack]: Implement voting for answers #12

gooddaytoday opened this issue Aug 22, 2020 · 26 comments
Assignees
Labels
enhancement Improvement in an existing feature or expanding a feature feature New feature hacktoberfest help wanted Extra attention is needed no-issue-activity up-for-grabs

Comments

@gooddaytoday
Copy link
Contributor

As i see, it's need to:

  1. Add vote counting for answers in database
  2. Add handling of voting on client and saving to DB on server.
@gooddaytoday
Copy link
Contributor Author

@Mayank0255 Can I do it?

@Mayank0255
Copy link
Owner

@gooddaytoday The thing is that I have setted some restrictions to the app right now. So, for now I won't be allowing more functionalities to this.

@gooddaytoday
Copy link
Contributor Author

Ok, will restrictions eliminate soon? Or you don't want to implement functionality right now?

@Mayank0255
Copy link
Owner

So, the thing is that I may remove the restriction later on but I usually don't allow anyone to contribute that big like adding a functionality. I like to do that myself as I am a student right now and I wanna learn everything in my domain.

I hope you understand that.

@Mayank0255 Mayank0255 moved this from Done to On Hold in Stackoverflow-Clone Feb 14, 2021
@Mayank0255
Copy link
Owner

Hi @gooddaytoday

Sorry, it took me a lot of time to go over this and finally I am ready to remove the restriction on the project and make it fully open source 🎉🎉

So, would like to implement this feature on the repo? I can just reopen it and assign this to you then.

@Mayank0255 Mayank0255 reopened this Feb 27, 2021
@Mayank0255 Mayank0255 moved this from On Hold to To do in Stackoverflow-Clone Feb 27, 2021
@Mayank0255 Mayank0255 changed the title Implement voting for answers [FEATURE]: Implement voting for answers Feb 27, 2021
@Mayank0255 Mayank0255 added enhancement Improvement in an existing feature or expanding a feature feature New feature up-for-grabs labels Feb 27, 2021
@Mayank0255 Mayank0255 changed the title [FEATURE]: Implement voting for answers [Fullstack]: Implement voting for answers Mar 17, 2021
@Mayank0255 Mayank0255 added the help wanted Extra attention is needed label Mar 24, 2021
@Mayank0255 Mayank0255 pinned this issue Mar 28, 2021
@alceil
Copy link

alceil commented Oct 1, 2021

Is anobody working on this issue?

@Mayank0255
Copy link
Owner

@alceil Sure, go ahead

@Mayank0255 Mayank0255 moved this from To do to In progress in Stackoverflow-Clone Oct 2, 2021
@alceil
Copy link

alceil commented Oct 5, 2021

Can anyone brief this issue a bit? handling of upvoting can be done in the front end. But to handle the db part I need to add changes in the back end too right? @Mayank0255

@Mayank0255
Copy link
Owner

@alceil yes changes in backend will also be required as there isn't any table there at the moment which keeps track of the votes.

And to begin with this I think adding voting to the questions only is satisfactory at the moment, later on we can go towards adding voting to answers as well. So, connecting the voting table with the post/question table would be required only, like suppose using postId as the foreign key

@Mayank0255
Copy link
Owner

@alceil you can refer to this https://data.stackexchange.com/stackoverflow/query/new

This is the querying website of the original stackoverflow which helps you test out SQL queries on there database and on the right side it also displays all the schemas.

You can check out how they have implemented voting in the backend and how is there architecture to refer.

If you get stuck anywhere or have any other queries then I am always there here or reach out to me on my discord Shadowsaver#9665

@alceil
Copy link

alceil commented Oct 5, 2021

Sure. Thanks ;)

@alceil
Copy link

alceil commented Oct 5, 2021

I'm facing some problems when I set up the project locally. Can you help me out? And I need to run the backend too in another terminal right for the APIs to work.? @Mayank0255

@Mayank0255
Copy link
Owner

@alceil yes you need to run both the servers, backend first then frontend

@alceil
Copy link

alceil commented Oct 5, 2021

okay got it

@alceil alceil removed their assignment Oct 7, 2021
@Mayank0255 Mayank0255 moved this from In progress to To do in Stackoverflow-Clone Oct 7, 2021
@shekharsalagar007
Copy link

shekharsalagar007 commented Oct 12, 2021

@Mayank0255 Can I work on this issue? Please assign it to me.

@Mayank0255
Copy link
Owner

@shekharsalagar007 I noticed that you have recently joined Github and I am not too sure whether you will be suitable for this issue as this one has help-wanted label on it. So, if you are confident into doing this then I would recommend make a PR and I will review and merge it, I won't be assigning it to you till then as then it would just keep other contributors away from it and I don't want that to happen. I hope you understand.

@shekharsalagar007
Copy link

Sure Thanks.

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

Stale issue message

@joshnho
Copy link

joshnho commented Sep 23, 2022

Is this issue being worked on ?

@Mayank0255
Copy link
Owner

@joshnho
No, it isnt.
Are you interested in picking it up?

@joshnho
Copy link

joshnho commented Sep 23, 2022

Yes I would like to work on it starting tonight

@Mayank0255
Copy link
Owner

@joshnho
Sorry for the late reply, but ya go ahead.
Let me know if you face any issues

@Mayank0255 Mayank0255 moved this from To do to In progress in Stackoverflow-Clone Sep 24, 2022
@Mayank0255
Copy link
Owner

@joshnho
Hoping everything is going fine with the task, let me know if you get stuck anywhere

@ayushnau
Copy link

@Mayank0255 can I work on this issue.
Please assign this to me.

@Mayank0255
Copy link
Owner

@Ayush2020012016
Sure, go ahead

Any idea that how much time will it take you to do this?

@Mayank0255
Copy link
Owner

@Ayush2020012016 how's the progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement in an existing feature or expanding a feature feature New feature hacktoberfest help wanted Extra attention is needed no-issue-activity up-for-grabs
Projects
Stackoverflow-Clone
  
In progress
Development

No branches or pull requests

6 participants