Skip to content

dangchinh25/webhook-er

Repository files navigation

Webhook-Er

  • A simple Webhook delivery service that builds on top of NextJs serverless App Router, Upstash message queue, and NeonDB.

Architecture

Prerequisites

Installation

  1. Setup environment variables. Create environment config file and change environment variable with the correct variables.
cp .env.example .env

Running development server

npm run dev

Open http://localhost:3000 with your browser to see the result.

Running Integration Tests Locally (via Docker Compose)

Create Temporary Database

npm run temp-database-up

Run Existing Migration Scripts

npm run migrate

Drop Temporary Database

npm run temp-database-down