This repository has been archived on 2026-11-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hope-events/backend/src/routes/webhookRoutes.js
T
joshua 3d381944d2 Initial commit
Next.js + Express event management app for Hope Family Church.
2026-07-23 15:26:47 +02:00

9 lines
308 B
JavaScript

const express = require('express');
const router = express.Router();
const { handleYocoWebhook, handleWhatsappWebhook } = require('../controllers/webhookController');
// Yoco webhook endpoint
router.post('/yoco', handleYocoWebhook);
router.post('/whatsapp', handleWhatsappWebhook);
module.exports = router;