
feat: Ability to get the db variable from everywhere with getDatabase function feat: Hello world when getting root url fix: Now mods model is able to communicate with db fix: fixed a syntax error in routes/mods.js file which caused sending two responses to the client
10 lines
213 B
JavaScript
10 lines
213 B
JavaScript
const express = require("express");
|
|
const controller = require("../controllers/mods");
|
|
|
|
const router = express.Router();
|
|
|
|
router.get('/', (res, req) => {
|
|
res.send("Hello there!");
|
|
});
|
|
|
|
module.exports = router; |