Get express server implemented

This commit is contained in:
CentreMetre
2026-05-31 08:45:43 +01:00
parent b7cb342804
commit b270924248
3 changed files with 810 additions and 0 deletions

12
index.js Normal file
View File

@@ -0,0 +1,12 @@
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}`);
});