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
19 lines
405 B
// dtp-sites.js
|
|
// Copryright (C) Digital Telepresence, LLC
|
|
// Licence: Apache-2.0
|
|
|
|
'use strict';
|
|
|
|
const path = require('path');
|
|
|
|
const express = require('express');
|
|
|
|
const homeController = require(path.join(__dirname, 'app', 'controllers', 'home.js'));
|
|
|
|
module.app = express();
|
|
|
|
module.app.get('/', homeController.getHome);
|
|
|
|
module.app.listen(3000, 'localhost', ( ) => {
|
|
console.log('App started');
|
|
});
|