Skip to content

An example of a comments engine you could add to any JAMstack site hosted on Netlify

Notifications You must be signed in to change notification settings

philhawksworth/jamstack-comments-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jamstack Comments Engine screengrab

Comments engine example.

Comments for your site. With no server to maintain and no Javascript dependency.

Built on Netlify

Netlify Status

Setting up

  1. Clone the repo and deploy it as a netlify (with one click via this DTN button)

Deploy to Netlify

  1. Configure a Slack integration on your Slack account
  2. Add the required environment variables for:
  • API_AUTH
  • APPROVED_COMMENTS_FORM_ID
  • SLACK_WEBHOOK_URL (You'll need to create and configure a Slack App)
  1. Add build hook (https://app.netlify.com/sites/{SITE_NAME}/settings/deploys#build-hooks) which will rebuild and deploy the site whenever a new comment is submitted to the approved form
  2. Add a notification (https://app.netlify.com/sites/{SITE_NAME}/settings/forms#form-notifications) which will call our build hook (above) when a new comment is added to the approved comments form.
  3. Add a notification (https://app.netlify.com/sites/{SITE_NAME}/settings/forms#form-notifications) to call our comment handler lambda when a new comment is posted to the comments queue for approval.

About

An example of a comments engine you could add to any JAMstack site hosted on Netlify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published