feat: Implement healthcheck api endpoint

This commit is contained in:
Faruk AYDIN
2024-02-12 18:46:43 +01:00
parent 8c936a91be
commit f21039d19d
4 changed files with 22 additions and 0 deletions

View File

@@ -2,11 +2,13 @@ import { Router } from 'express';
import graphQLInstance from '../helpers/graphql-instance.js';
import webhooksRouter from './webhooks.js';
import paddleRouter from './paddle.ee.js';
import healthcheckRouter from './healthcheck.js';
const router = Router();
router.use('/graphql', graphQLInstance);
router.use('/webhooks', webhooksRouter);
router.use('/paddle', paddleRouter);
router.use('/healthcheck', healthcheckRouter);
export default router;