Create hello world React app with hot module replacement

This commit is contained in:
2017-06-24 19:31:52 -06:00
parent c0774cdcb1
commit 18bae1f3d4
9 changed files with 113 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
const express = require('express')
const app = express()
app.use('/', express.static('dist'))
app.get('/hello', function (req, res) {
res.send('Hello World!')
})
app.listen(3000, function () {
console.log('Example app listening on port 3000!')
})