Stackoverflow-Clone-Frontend
Stackoverflow-Clone-Frontend copied to clipboard
[Fullstack]: Implement voting for answers
As i see, it's need to:
- Add vote counting for answers in database
- Add handling of voting on client and saving to DB on server.
@Mayank0255 Can I do it?
@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.
Ok, will restrictions eliminate soon? Or you don't want to implement functionality right now?
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.
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.
Is anobody working on this issue?
@alceil Sure, go ahead
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
@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
@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
Sure. Thanks ;)
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
@alceil yes you need to run both the servers, backend first then frontend
okay got it
@Mayank0255 Can I work on this issue? Please assign it to me.
@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.
Sure Thanks.
Stale issue message
Is this issue being worked on ?
@joshnho No, it isnt. Are you interested in picking it up?
Yes I would like to work on it starting tonight
@joshnho Sorry for the late reply, but ya go ahead. Let me know if you face any issues
@joshnho Hoping everything is going fine with the task, let me know if you get stuck anywhere
@Mayank0255 can I work on this issue. Please assign this to me.
@Ayush2020012016 Sure, go ahead
Any idea that how much time will it take you to do this?
@Ayush2020012016 how's the progress on this?