Skip to content

A serverless and secure webhook API to forward Hashnode events to EventBridge

License

Notifications You must be signed in to change notification settings

dreamorosi/serverless-webhook-hashnode

Repository files navigation

HashBridge: extend your Hashnode blog with event-driven serverless functions

Connect your Hashnode blog to serverless AWS Lambda functions and Amazon EventBridge based on events in your Hashnode blog.

This project is explained in detail in the blog post HashBridge: Extend your Hashnode blog with event-driven serverless functions, the following is a summary of the steps to get started.

Architecture Diagram

Prerequisites

  • An AWS account
  • Node.js v18.x or later
  • AWS CLI (optional)
  • A Hashnode blog

Create an Hashnode Webhook Secret

First, you need to obtain the Hashnode webhook secret. To do this, go to your blog's settings page and click on the "Webhooks" tab. Then, click on the "Add New Webhook" button.

Hashnode Webhook

For now, you can leave the "Webhook URL" field empty. You will get the URL later when you