server stuff

This commit is contained in:
2018-06-25 16:53:55 +02:00
parent 6e9cdd1a11
commit 18098cb896
5 changed files with 483 additions and 0 deletions

12
server/src/main.ts Normal file
View File

@ -0,0 +1,12 @@
import * as http from 'http'
import * as express from 'express'
let app = express()
app.use('/', express.static(__dirname + '/../../dist'))
app.listen(3000, () => {
console.log('Example app listening on port 3000!')
})