diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-22 11:21:46 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-22 11:21:46 -0700 |
commit | dcc585c324fd258b7f8290782b1a5d42fc2b4205 (patch) | |
tree | dc7ac6128ac4d9b4bb853c2129bcf9e7e75a0d7c /example/index.js | |
parent | efe856ed238e7a2be8d847c94ba8e0155b17ce9c (diff) |
Add basic example site
Diffstat (limited to 'example/index.js')
-rw-r--r-- | example/index.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example/index.js b/example/index.js new file mode 100644 index 0000000..1a3b72d --- /dev/null +++ b/example/index.js @@ -0,0 +1,11 @@ +const path = require('path'); +const express = require('express'); + +const app = express(); +const port = 3000; + +app.use(express.static('./public/')); + +app.listen(port, () => { + console.log(`🚀 Server ready at http://localhost:${port}`); +}); |