feat: Implement get app API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-26 17:59:48 +01:00
parent f0e2d36c34
commit 7d5b2ec81e
6 changed files with 668 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
import { Router } from 'express';
import asyncHandler from 'express-async-handler';
import { authenticateUser } from '../../../helpers/authentication.js';
import getAppAction from '../../../controllers/api/v1/apps/get-app.js';
const router = Router();
router.get('/:appKey', authenticateUser, asyncHandler(getAppAction));
export default router;