You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
405 B

3 years ago
// dtp-sites.js
// Copryright (C) Digital Telepresence, LLC
// Licence: Apache-2.0
'use strict';
const path = require('path');
3 years ago
const express = require('express');
const homeController = require(path.join(__dirname, 'app', 'controllers', 'home.js'));
3 years ago
module.app = express();
module.app.get('/', homeController.getHome);
3 years ago
module.app.listen(3000, 'localhost', ( ) => {
console.log('App started');
});