8 lines
180 B
JavaScript
8 lines
180 B
JavaScript
|
import express from 'express';
|
||
|
const app = express();
|
||
|
const port = 3000;
|
||
|
app.get('/', (req, res) => { });
|
||
|
app.listen(port, () => {
|
||
|
console.log(`http://localhost:${port}`);
|
||
|
});
|