Right, that's the first quater done

This commit is contained in:
Alicia Sykes
2019-07-20 21:50:29 +01:00
parent cbd0d714be
commit b7b8addd83
9 changed files with 210 additions and 51 deletions

14
server.js Normal file
View File

@@ -0,0 +1,14 @@
var connect = require('connect');
var serveStatic = require('serve-static');
const port = process.env.PORT || 3002;
try {
connect()
.use(serveStatic(__dirname+'/dist'))
.listen(port, () =>
console.log(`Boom, app is running on port ${port}`)
);
} catch(error) {
console.log('Something fucked up', error);
}