Create server.js
Browse files
server.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const express = require('express');
|
| 2 |
+
const app = express();
|
| 3 |
+
const port = 7860;
|
| 4 |
+
|
| 5 |
+
app.use(express.static('public'));
|
| 6 |
+
|
| 7 |
+
app.listen(port, () => {
|
| 8 |
+
console.log(`Server running at http://localhost:${port}`);
|
| 9 |
+
});
|