server.js 319 Bytes
const express = require('express');
const app = express();

app.listen(8080, function(){
    console.log('listening on 8080');
});

app.get('/test', function(req, res){
    res.send('test');
});

app.get('/', function(req, res){
    res.sendFile(__dirname + '/main.html');
    res.sendFile(__dirname + '/main.css');
});