leodvincci / behav.io

This is a web application designed to help software engineering job seekers practice for behavioral interviews..
3 stars 1 forks source link

Favorite handling & feedbackCounter #116

Closed bridgesMichael closed 1 year ago

bridgesMichael commented 1 year ago

added feedbackCounter column to response and set value to 0 when new Response object created. created migrations.

Idea here is that every time a new Feedback is added to a Response, the counter is updated so we can just access the number of "Feedbacks" per response directly for badges and what-not

Also added 'favorite_handling' view to handle favoriting questions. Updated urlPatterns to handle favorite functionality

mdubelbeis commented 1 year ago

Going to merge and pull so I can knock some code out.