Merge branch 'dev' into feat/api-outline

This commit is contained in:
Gabriellvl 2025-02-27 15:45:03 +01:00 committed by GitHub
commit 3285d9ce12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 2438 additions and 12084 deletions

View file

@ -1,10 +1,9 @@
import express from 'express'
import express from 'express';
import { getThemes, getThemeByTitle } from '../controllers/themes.js';
const router = express.Router();
// I'm not sure what's supposed to be here
// https://github.com/SELab-2/Dwengo-1/issues/24
router.get('/', (req, res) => {
res.send('themes route');
})
router.get('/', getThemes);
router.get('/:theme', getThemeByTitle);
export default router
export default router;