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.
20 lines
351 B
20 lines
351 B
// dtp-sites.js
|
|
// Copryright (C) Digital Telepresence, LLC
|
|
// Licence: Apache-2.0
|
|
|
|
'use strict';
|
|
|
|
const express = require('express');
|
|
|
|
|
|
module.app = express();
|
|
|
|
module.getHome = async (req, res) => {
|
|
res.send('Hello, world!');
|
|
};
|
|
|
|
module.app.get('/', module.getHome);
|
|
|
|
module.app.listen(3000, 'localhost', ( ) => {
|
|
console.log('App started');
|
|
});
|