mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2026-01-21 02:19:42 +01:00
11 lines
309 B
TypeScript
11 lines
309 B
TypeScript
// backend/src/routes/setup.ts
|
|
import express from 'express';
|
|
import bcrypt from 'bcryptjs';
|
|
import { checkSetupStatus, setupAdmin } from '../controllers/setupController.js';
|
|
|
|
const router = express.Router();
|
|
|
|
router.get('/status', checkSetupStatus);
|
|
router.post('/admin', setupAdmin);
|
|
|
|
export default router; |