Rebase dengan menggunakan sqlite

This commit is contained in:
Otang45
2024-12-08 19:38:53 +07:00
parent 0f93ba721f
commit 661da7a0fe
83 changed files with 31217 additions and 762244 deletions

17
routes/index.js Normal file
View File

@@ -0,0 +1,17 @@
const express = require("express");
const router = express.Router();
router.get("/", (req, res) => {
res.render("api/index", {
title: "Otang | Rest Api Muslim",
});
});
router.get("/other", (req, res, next) => {
res.render("api/other", {
title: "Otang | Lainnya",
layout: "./layouts/api",
});
});
module.exports = router;