sync & async api

This commit is contained in:
Felix Kaspar
2023-10-19 19:46:23 +02:00
parent c60de02e14
commit 5203fc3605
8 changed files with 673 additions and 8 deletions

12
routes/api/index.js Normal file
View File

@@ -0,0 +1,12 @@
import express from 'express';
import workflow from './workflow.js';
const router = express.Router();
router.get("/", function (req, res, next) {
res.status(501).json({"Error": "Unfinished Endpoint"});
});
router.use("/workflow", workflow);
export default router;