Adding Comments to Gatsby with Netlify Serverless Functions + GitHub
Read OriginalThis technical article details a method for implementing a comment system on a Gatsby static site without a database. It uses Netlify serverless functions to securely interact with the GitHub API, appending new comments to a `comments.json` file in the repository, which triggers a rebuild and redeploy. The post includes a code walkthrough of the serverless function and discusses potential downsides like spam.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser