mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-24 07:39:42 +02:00
* Initial database and page MVC * Add mocha tests * Add docs * Add docs about nedb query options * Add eslint and editorconfig + husky * Improve precommit script * Remove unnecessary dependencies
9 lines
No EOL
209 B
JavaScript
9 lines
No EOL
209 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
|
|
/* GET home page. */
|
|
router.get('/', function (req, res, next) {
|
|
res.render('index', { title: 'Express' });
|
|
});
|
|
|
|
module.exports = router; |