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
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 58 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 28 comments Codenhack Beta — Full Access + Referral User Avatar 21 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 16 comments