Site settings -> Webhooks: admins add https endpoints and choose event types (registration created/paid/cancelled, payment received/refunded, ticket checked in, account created, event published). Events are noticed by a Prisma client extension so every write path is covered, re-checked before sending, and delivered as signed JSON (X-CrossEvents-Signature, HMAC-SHA256) with retries, a 30-day delivery log, Send test and Resend. Public https addresses only; each endpoint is added to the operator register; kids and volunteer tickets are never sent. New `webhooks` job. Migration 20261028160000_webhooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
843 B
JSON
28 lines
843 B
JSON
{
|
|
"name": "hope-events",
|
|
"version": "1.48.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"start:backend": "cd backend && npm run start",
|
|
"start:frontend": "cd frontend && npm run start",
|
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate",
|
|
"test:e2e": "playwright test",
|
|
"test": "npm --prefix backend test"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.64.0",
|
|
"concurrently": "^9.2.1"
|
|
},
|
|
"overrides": {
|
|
"shell-quote": "^1.12.0"
|
|
}
|
|
}
|