Spectrum is now read-only. Learn more about the decision in our official announcement.


Fast in every way that matters. Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps.


What's The Best Way to Make Commenting System

November 21, 2017 at 12:37am

What's The Best Way to Make Commenting System

November 21, 2017 at 12:37am (Edited 5 years ago)
Hello folks..,
I have a plan to make commenting system on my blog. Since Gatsby is a static site generator, is that possible to achieve that? If yes, what's the best way to achieve so?
Any kinds of direction will be appreciated.

November 21, 2017 at 2:09am
check it's super common
there's premade react component which you can embed in to your blog post template.
Hey Necmettin 👋🏻, thanks for that! 😀 Aside from the main topic, do you know how to make the "like" functionality as well? I mean, should I have back-end for this (with database setup) or is there easier way?
disqus also provides like logic.
if you want to use something else, yeah you would need back-end
Interesting.. Thanks Necmettin, will consider that thoroughly. 🙏🏻
you're welcome.

November 21, 2017 at 3:35pm
Hey, if you're familiar with WordPress, it seems like it wouldn't take too much time to hook into their build-in commenting system.
It looks like you'd send a POST request through a form from your Gatsby site to your WP backend, which would have to have the 'post_id', 'author_name', and 'content'. There are other options that you could make required:
Show more messages