6
11 Comments

How to add ratings & reviews functionality to my website?

I'm currently building an AI tools directory and want to add a ratings/reviews feature for each app page. Instead of coding these myself, I'd rather use an embeddable widget or an open source library if available (i'm using node.js, react). Any suggestions as to what i can use?

posted to Icon for group Developers
Developers
on April 3, 2023
  1. 1

    Nowadays, most people are building directory websites. What is the motivation for creating such kinds of tools?

  2. 1

    Really cool that you're building a directory. Can you add Evoke to it?

    We host open source AI models on the cloud for devs and businesses building AI apps

  3. 1

    Implementing it shouldn't take long. You can use some UI elements like: https://github.com/smastrom1/react-rating

    And on submit store it in Node.js in your preferred database.

    On page load, load set the initial value from the DB.

    1. 1

      That looks nice. I eventually found some alternatives as well for comment system (not exactly reviews, but i guess i can slightly repurpose it) based on the writeup here https://lisakov.com/projects/open-source-comments/

  4. 1

    iframe-resizer-react library provided by Testimonial[dot]to. You should be able to use that to embed reviews on your app.

  5. 0

    Why not use Trustpilot or a similar service? You seem to have the ability to setup with embedded form here: https://support.trustpilot.com/hc/en-us/articles/206514477-Set-up-the-Embedded-Review-Form

    In order to retrieve reviews you should be able to do this through API : https://support.trustpilot.com/hc/en-us/articles/207309867-How-to-use-Trustpilot-APIs-

    1. 1

      Using Trustpilot will allow my users to review my site. However, what I want is to build something like Trustpilot myself, and allow my users to review different websites/apps

Trending on Indie Hackers
Your build-in-public audience is not your market. I learned the difference the slow way. User Avatar 195 comments I built a WhatsApp AI bot for doctors in Peru — launched 3 weeks ago, 0 paying customers, and stuck waiting for Meta to approve my app User Avatar 61 comments Built a "stocks as football cards" thing. 5 days in, my launch tweet got 7 views. What am I missing? User Avatar 33 comments From broke and burned out as a PM, to launching my SaaS and optimizing my health User Avatar 32 comments Why Claude Skills Are Becoming Important for Tech Careers User Avatar 24 comments I kept starting projects and dropping them. So I built a system that wouldn’t let me User Avatar 23 comments