first commit

This commit is contained in:
bwbl
2026-01-28 14:11:51 +01:00
commit 1cc19b11b6
44 changed files with 10334 additions and 0 deletions

16
start/routes.ts Normal file
View File

@@ -0,0 +1,16 @@
/*
|--------------------------------------------------------------------------
| Routes file
|--------------------------------------------------------------------------
|
| The routes file is used for defining the HTTP routes.
|
*/
import router from '@adonisjs/core/services/router'
import SectionsController from '#controllers/sections_controller'
router.on('/').render('pages/home')
router.on('sections').render('pages/sections')
router.get('api/sections', [SectionsController, 'index'])
router.delete('api/section/:id', [SectionsController, 'destroy'])