Commit 057b3f4f52072ee3c93d7dbc251e4bc18754a33c

Authored by Adhidarma Hadiwinoto
1 parent 6dbc795046
Exists in master

markup-sum skeleton

Showing 1 changed file with 17 additions and 0 deletions Side-by-side Diff

lib/webservice/router/markup-sum.js
... ... @@ -0,0 +1,17 @@
  1 +const express = require('express');
  2 +const bodyParser = require('body-parser');
  3 +const logger = require('komodo-sdk/logger');
  4 +const dbKomodo = require('../../db-komodo');
  5 +
  6 +const DEBUG = process.env.NODE_ENV !== 'production';
  7 +
  8 +const router = express.Router();
  9 +module.exports = router;
  10 +
  11 +const cache = {};
  12 +
  13 +function pageIndex(req, res) {
  14 + res.end('OK');
  15 +}
  16 +
  17 +router.all('/', bodyParser.urlencoded({ extended: false }), pageIndex);