10 lines
252 B
JavaScript
10 lines
252 B
JavaScript
const express = require('express');
|
|
const path = require('path');
|
|
const app = express();
|
|
const port = 3000;
|
|
|
|
app.use(express.static('public'));
|
|
|
|
app.listen(port, () => {
|
|
console.log(`Password generator app listening at http://localhost:${port}`);
|
|
}); |