First commit

This commit is contained in:
AndrewTrieu
2023-03-09 11:21:18 +02:00
commit be427eda10
27 changed files with 262 additions and 0 deletions

View File

@@ -0,0 +1 @@
You could add api-related endpoints here.

View File

@@ -0,0 +1,5 @@
const showMain = ({ render }) => {
render("main.eta");
};
export { showMain };

View File

@@ -0,0 +1,8 @@
import { Router } from "../deps.js";
import * as mainController from "./controllers/mainController.js";
const router = new Router();
router.get("/", mainController.showMain);
export { router };