Added gallery database and refactored src-manager

This commit is contained in:
2024-10-07 00:53:35 +09:00
parent d865938430
commit f5b4e9c6ad
13 changed files with 492 additions and 159 deletions

13
src-manager/api/index.js Normal file
View File

@@ -0,0 +1,13 @@
import express from 'express';
import newsAPI from './news.js';
import newsListAPI from './news-list.js';
import galleryImageAPI from './gallery-image.js';
const router = express.Router();
router.use('/news', newsAPI);
router.use('/news-list', newsListAPI);
router.use('/gallery-image', galleryImageAPI);
export default router;