GithubHelp home page GithubHelp logo

Comments (5)

andrewmarklloyd avatar andrewmarklloyd commented on August 9, 2024

Currently working on adding the route to favorite and unfavorite. @TheHollidayInn do you want us to assign issues to ourselves? Also, is there a model for the favorite similar to the vote model?

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024

Sweet. Yea, feel free to claim the issue by posting or assigning yourself. There is not model at the moment, but voting works the same way as favoriting should.

from software-engineering-daily-api.

andrewmarklloyd avatar andrewmarklloyd commented on August 9, 2024

Sounds good!

from software-engineering-daily-api.

andrewmarklloyd avatar andrewmarklloyd commented on August 9, 2024

The Post model currently has a score which represents its aggregate upvotes and downvotes. Should a favorite increase the total score for a Post? If so then I'll just increment the total similar to the upvoting/downvoting use case. If not then I'll need to update the Post model to represent the total favorites. Going down that road, how should this impact the recommendations since the Raccoon API essentially only has like and dislike.

from software-engineering-daily-api.

TheHollidayInn avatar TheHollidayInn commented on August 9, 2024
  1. Let's add a total favorites field rather than adjust to the score.
  2. I am working on a few more recommendations engines we will use to incorporate favorites and viewed. Raccoon does a simply k-mean, and we will only use votes for that now.

from software-engineering-daily-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.