Files
CodeList/index.js
2026-05-31 08:45:43 +01:00

13 lines
232 B
JavaScript

import express from 'express';
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send('Server is running');
});
app.listen(port, () => {
console.log(`Server running on http://localhost:${port}`);
});