9 lines
189 B
JavaScript
9 lines
189 B
JavaScript
const express = require("express");
|
|
const path = require("path");
|
|
|
|
const app = express();
|
|
const port = 8000;
|
|
|
|
app.listen(port, () => {
|
|
console.log(`Server listening on port ${port}`);
|
|
}); |